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

Method clickedOnStone

code/main/CastleTower.ts:72–79  ·  view source on GitHub ↗
(ourSavingName: string)

Source from the content-addressed store, hash-verified

70 }
71
72 private clickedOnStone(ourSavingName: string): void{
73 // This stone is now in the tower
74 Saving.saveBool(ourSavingName, true);
75
76 // Update
77 this.update();
78 this.getGame().updatePlace();
79 }
80
81 private drawBackground(): void{
82 // Calculate the gap

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
updatePlaceMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected