()
| 245 | } |
| 246 | |
| 247 | private drawLose(): void{ |
| 248 | // Draw "you lose" |
| 249 | this.getRenderArea().drawArray(Database.getAscii("places/village/thirdHouseGames/GalacticWars/youLose"), 8, 1); |
| 250 | |
| 251 | // Draw the candies we won |
| 252 | this.getRenderArea().drawString("Score : " + this.score + ".", 8, 7); |
| 253 | this.getRenderArea().drawString("You gain " + (this.score + Algo.correctIfUnderZero(this.score-1000)*30) + " candies.", 8, 8); |
| 254 | |
| 255 | this.getRenderArea().drawString("Best score : " + Saving.loadNumber("galacticWarsBestScore") + ".", 8, 10); |
| 256 | } |
| 257 | |
| 258 | private drawSplashScreen(): void{ |
| 259 | this.getRenderArea().drawArray(Database.getAscii("places/village/thirdHouseGames/GalacticWars/splashScreen"), -87 + this.splashScreenTimer*3, 2); |
no test coverage detected