MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / actionInterval

Method actionInterval

code/main/CastleTower.ts:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62 // Private methods
63 private actionInterval(): void{
64 // If the timer hasn't reached the max timer yet, we increase it and update
65 if(this.cutSceneTimer < this.cutSceneMaxTimer){
66 this.cutSceneTimer += 1;
67 this.update();
68 this.getGame().updatePlace();
69 }
70 }
71
72 private clickedOnStone(ourSavingName: string): void{
73 // This stone is now in the tower

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
updatePlaceMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected