()
| 63 | |
| 64 | // Public methods |
| 65 | public willBeDisplayed(): void{ |
| 66 | // We check lollipops |
| 67 | this.checkLollipops(); |
| 68 | |
| 69 | // We add the lollipops callback |
| 70 | this.getGame().getLollipops().getCallbackCollection().addCallback(this.checkLollipops.bind(this)); |
| 71 | |
| 72 | // We add the one second callback for the pond |
| 73 | this.getGame().getOneSecondCallbackCollection().addCallback(this.handlePond.bind(this)); |
| 74 | } |
| 75 | |
| 76 | // getRenderArea() |
| 77 | public getRenderArea(): RenderArea{ |
nothing calls this directly
no test coverage detected