()
| 75 | |
| 76 | // willBeDisplayed() |
| 77 | public willBeDisplayed(): void{ |
| 78 | // We call the mother willBeDisplayed() |
| 79 | super.willBeDisplayed(); |
| 80 | |
| 81 | // Register hotkeys so that they can't be used by the player's browser |
| 82 | this.getGame().addHotkey(new Hotkey("left", null)); |
| 83 | this.getGame().addHotkey(new Hotkey("right", null)); |
| 84 | } |
| 85 | |
| 86 | // Public methods |
| 87 | public castPlayerFireball(): void{ |