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

Method drawLose

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

Source from the content-addressed store, hash-verified

196 }
197
198 private drawLose(): void{
199 this.getRenderArea().drawArray(Database.getAscii("places/village/thirdHouseGames/SuperRPG/youLose"), 8, 1);
200 if(this.reward == 0) this.getRenderArea().drawString("At floor " + this.floor + ". And got no candies.", 8, 7);
201 else this.getRenderArea().drawString("At floor " + this.floor + ". And got " + this.reward + " candies.", 8, 7);
202 }
203
204 private drawSplashScreen(): void{
205 this.getRenderArea().drawArray(Database.getAscii("places/village/thirdHouseGames/SuperRPG/splashScreen"), -67 + this.splashScreenTimer*3, 2);

Callers 1

runMethod · 0.95

Calls 4

drawArrayMethod · 0.80
getAsciiMethod · 0.80
drawStringMethod · 0.80
getRenderAreaMethod · 0.45

Tested by

no test coverage detected