()
| 289 | } |
| 290 | |
| 291 | public load(): void{ |
| 292 | // Resources |
| 293 | this.candies.load(); |
| 294 | this.lollipops.load(); |
| 295 | this.chocolateBars.load(); |
| 296 | this.painsAuChocolat.load(); |
| 297 | this.candiesEaten.load(); |
| 298 | this.candiesThrown.load(); |
| 299 | this.candiesUsedToRequestFeatures.load(); |
| 300 | this.candiesInCauldron.load(); |
| 301 | this.lollipopsInCauldron.load(); |
| 302 | |
| 303 | // Handle inverted colors (we have to change the css now depending on the gameInvertedColors bool from the Saving module) |
| 304 | this.applyInvertedColorsToCss(); |
| 305 | } |
| 306 | |
| 307 | public postLoad(): void{ |
| 308 | // We re calc the player hp |
nothing calls this directly
no test coverage detected