()
| 293 | } |
| 294 | |
| 295 | private nextPage(): void{ |
| 296 | // If we can go to the next page |
| 297 | if(Saving.loadNumber("cauldronBookCurrentPage") < this.maxPage){ |
| 298 | // Change the current page number |
| 299 | Saving.saveNumber("cauldronBookCurrentPage", Saving.loadNumber("cauldronBookCurrentPage") + 2); |
| 300 | |
| 301 | // Update |
| 302 | this.update(); |
| 303 | this.getGame().updatePlace(); |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | private previousPage(): void{ |
| 308 | // If we can go to the previous page |
nothing calls this directly
no test coverage detected