()
| 59 | |
| 60 | // willBeDisplayed() |
| 61 | public willBeDisplayed(): void{ |
| 62 | // We call the mother willBeDisplayed() |
| 63 | super.willBeDisplayed(); |
| 64 | |
| 65 | // Register hotkeys so that they can't be used by the player's browser |
| 66 | this.getGame().addHotkey(new Hotkey("up", null)); |
| 67 | this.getGame().addHotkey(new Hotkey("down", null)); |
| 68 | } |
| 69 | |
| 70 | // Public methods |
| 71 | public addBigShark(pos: Pos): BigShark{ |