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

Method goToGame

code/main/GalacticWars.ts:273–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

271 }
272
273 private goToGame(): void{
274 // Change the step
275 this.step = GalacticWarsStep.GAME;
276
277 // Set some useful parameters
278 this.score = 2;
279 this.shipYPosition = 4;
280 this.hp = 10;
281 this.power = 150;
282 this.maxPower = 150;
283
284 // Set the quest speedup
285 this.getThirdHouse().getGame().setQuestSpeedUp(-50);
286 }
287
288 public pressedDownButton(): void{
289

Callers 1

runSplashScreenMethod · 0.95

Calls 3

setQuestSpeedUpMethod · 0.80
getThirdHouseMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected