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

Method requestStatusBarUnlocked

code/main/CandyBox.ts:198–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 }
197
198 private requestStatusBarUnlocked(): void{
199 if(this.getGame().getCandies().getCurrent() >= 30){
200 this.getGame().getCandies().transferTo(this.getGame().getCandiesUsedToRequestFeatures(), 30);
201 Saving.saveBool("statusBarUnlocked", true);
202 this.getGame().updateStatusBar(true);
203 this.update();
204 this.getGame().updatePlace();
205 }
206 }
207
208 private requestStatusBarUnlockedCfg(): void{
209 if(this.getGame().getCandies().getCurrent() >= 5){

Callers

nothing calls this directly

Calls 8

updateMethod · 0.95
getCurrentMethod · 0.80
transferToMethod · 0.80
updateStatusBarMethod · 0.80
updatePlaceMethod · 0.80
getCandiesMethod · 0.45
getGameMethod · 0.45

Tested by

no test coverage detected