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

Method takeTalkingCandy

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

Source from the content-addressed store, hash-verified

134 }
135
136 private takeTalkingCandy(): void{
137 // We take the candy
138 Saving.saveBool("castleTowerTookTalkingCandy", true);
139
140 // We gain the corresponding item
141 this.getGame().gainItem("gridItemPossessedTalkingCandy")
142
143 // We update
144 this.update();
145 this.getGame().updatePlace();
146 }
147
148 private update(): void{
149 // Erase everything

Callers

nothing calls this directly

Calls 4

updateMethod · 0.95
gainItemMethod · 0.80
updatePlaceMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected