()
| 239 | } |
| 240 | |
| 241 | private goToLose(): void{ |
| 242 | // No more menu |
| 243 | this.menu = null; |
| 244 | |
| 245 | // Change the step |
| 246 | this.step = SuperRPGStep.LOSE; |
| 247 | |
| 248 | // Get the candies |
| 249 | this.reward = this.getCandiesWeWillGain(); |
| 250 | this.getThirdHouse().getGame().getCandies().add(this.reward); |
| 251 | } |
| 252 | |
| 253 | private goToMainMenu(): void{ |
| 254 | // Change the step |
no test coverage detected