| 15 | |
| 16 | // Constructor |
| 17 | constructor(game: Game){ |
| 18 | super(game); |
| 19 | |
| 20 | // At first the hoven is waiting |
| 21 | this.hovenWaiting = true; |
| 22 | |
| 23 | // Set the default speech, depending on if the hoven is happy or not |
| 24 | if(Saving.loadBool("castleBigRoomHovenHappy") == false){ |
| 25 | this.currentSpeech = "castleBigRoomHovenSpeechSad"; |
| 26 | } |
| 27 | else{ |
| 28 | this.currentSpeech = "castleBigRoomHovenSpeechHappy"; |
| 29 | } |
| 30 | |
| 31 | // Resize the area and update |
| 32 | this.renderArea.resize(160, 30); |
| 33 | this.update(); |
| 34 | } |
| 35 | |
| 36 | // getRenderArea() |
| 37 | public getRenderArea(): RenderArea{ |