()
| 121 | } |
| 122 | |
| 123 | private pickCarpetLollipop(): void{ |
| 124 | // If the lollipop is outside the carpet |
| 125 | if(Saving.loadNumber("fourthHouseCarpetStep") == 1){ |
| 126 | // Set the step |
| 127 | Saving.saveNumber("fourthHouseCarpetStep", 2); |
| 128 | // Add one lollipop |
| 129 | this.getGame().getLollipops().add(1); |
| 130 | // Update |
| 131 | this.update(); |
| 132 | this.getGame().updatePlace(); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | private takeLollipopInsideCupboard(): void{ |
| 137 | // If the cupboard is opened with the lollipop inside it |
nothing calls this directly
no test coverage detected