()
| 129 | } |
| 130 | |
| 131 | private takeLollipop(): void{ |
| 132 | // If we didn't get the lollipop yet |
| 133 | if(Saving.loadBool("forgeFoundLollipop") == false){ |
| 134 | // Add one lollipop |
| 135 | this.getGame().getLollipops().add(1); |
| 136 | // Set the bool |
| 137 | Saving.saveBool("forgeFoundLollipop", true); |
| 138 | // Update |
| 139 | this.update(); |
| 140 | this.getGame().updatePlace(); |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | private update(): void{ |
| 145 | // Erase everything |
nothing calls this directly
no test coverage detected