()
| 22 | |
| 23 | // willBeDisplayed() |
| 24 | public willBeDisplayed(): void{ |
| 25 | this.getGame().getQuestCallbackCollection().addCallback(this.runGame.bind(this)); |
| 26 | |
| 27 | // Add some hotkeys |
| 28 | this.getGame().addHotkey(new Hotkey("up", new CallbackCollection(this.pressedUpButton.bind(this)))); |
| 29 | this.getGame().addHotkey(new Hotkey("down", new CallbackCollection(this.pressedDownButton.bind(this)))); |
| 30 | this.getGame().addHotkey(new Hotkey("space", new CallbackCollection(this.pressedSpaceButton.bind(this)))); |
| 31 | } |
| 32 | |
| 33 | |
| 34 | // Private methods |
nothing calls this directly
no test coverage detected