()
| 305 | } |
| 306 | |
| 307 | public postLoad(): void{ |
| 308 | // We re calc the player hp |
| 309 | this.player.reCalcMaxHp(); |
| 310 | |
| 311 | // We update the status bar |
| 312 | this.updateStatusBar(true); |
| 313 | |
| 314 | // Select correct items |
| 315 | this.emptyAndFillSelectedEqItemsArray(); |
| 316 | |
| 317 | // We go to the candy box |
| 318 | this.goToCandyBox(); |
| 319 | |
| 320 | // And we set the saved place (the village) |
| 321 | this.savedPlace = new Village(this); |
| 322 | } |
| 323 | |
| 324 | public resetPlayer(): void{ |
| 325 | // Save some important things |
no test coverage detected