()
| 22 | |
| 23 | // Private methods |
| 24 | private clickOnCarpet(): void{ |
| 25 | // If we never clicked on the carpet |
| 26 | if(Saving.loadNumber("fourthHouseCarpetStep") == 0){ |
| 27 | // Set the step |
| 28 | Saving.saveNumber("fourthHouseCarpetStep", 1); |
| 29 | // Update |
| 30 | this.update(); |
| 31 | this.getGame().updatePlace(); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | private drawCarpetStuff(x: number, y: number): void{ |
| 36 | // We do different things depending on the step |
nothing calls this directly
no test coverage detected