()
| 683 | } |
| 684 | |
| 685 | public willBeDisplayed(): void{ |
| 686 | // Some some stuff needed because we start questing |
| 687 | this.getGame().setWeAreQuesting(true); |
| 688 | this.getGame().getQuestCallbackCollection().addCallback(this.update.bind(this)); |
| 689 | |
| 690 | // Add some hotkeys |
| 691 | for(var i = 0; i < this.playerSpellsHotkeys.length; i++){ |
| 692 | this.getGame().addHotkey(this.playerSpellsHotkeys[i]); |
| 693 | } |
| 694 | } |
| 695 | |
| 696 | public willBeClosed(): void{ |
| 697 | this.getGame().setWeAreQuesting(false); |
nothing calls this directly
no test coverage detected