()
| 305 | } |
| 306 | |
| 307 | private previousPage(): void{ |
| 308 | // If we can go to the previous page |
| 309 | if(Saving.loadNumber("cauldronBookCurrentPage") > 0){ |
| 310 | // Change the current page number |
| 311 | Saving.saveNumber("cauldronBookCurrentPage", Saving.loadNumber("cauldronBookCurrentPage") - 2); |
| 312 | |
| 313 | // Update |
| 314 | this.update(); |
| 315 | this.getGame().updatePlace(); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | private putInCauldron(): void{ |
| 320 | // Used to know if we will have to update and return |
nothing calls this directly
no test coverage detected