()
| 19 | |
| 20 | // Private methods |
| 21 | private dig(): void{ |
| 22 | // We found the treasure |
| 23 | Saving.saveBool("TheCavePattern_TreasureMapFoundTreasure", true); |
| 24 | |
| 25 | // Get it |
| 26 | this.getGame().getChocolateBars().add(3); |
| 27 | |
| 28 | // Update |
| 29 | this.update(); |
| 30 | this.getGame().updatePlace(); |
| 31 | } |
| 32 | |
| 33 | private update(): void{ |
| 34 | // Erase everything |
nothing calls this directly
no test coverage detected