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

Method digPond

code/main/LollipopFarm.ts:159–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 private digPond(): void{
160 if(this.getGame().getLollipops().getCurrent() >= 100000){
161 this.getGame().getLollipops().add(-100000);
162 Saving.saveBool("lollipopFarmPondDug", true);
163 this.update();
164 this.getGame().updatePlace();
165 }
166 }
167
168 private drawFieldStuff(x: number, y: number): void{
169 // A variable useful later

Callers

nothing calls this directly

Calls 6

updateMethod · 0.95
getCurrentMethod · 0.80
updatePlaceMethod · 0.80
addMethod · 0.65
getLollipopsMethod · 0.45
getGameMethod · 0.45

Tested by

no test coverage detected