(renderArea: RenderArea, otherClass: string)
| 8 | |
| 9 | // Special method used to add a button to go back to the castle |
| 10 | public addBackToTheCastleButton(renderArea: RenderArea, otherClass: string): void{ |
| 11 | this.addBackToButton(renderArea, |
| 12 | new CallbackCollection(this.getGame().goToCastle.bind(this.getGame())), |
| 13 | Database.getText("buttonBackToTheCastle"), |
| 14 | Database.getTranslatedText("buttonBackToTheCastle"), |
| 15 | otherClass); |
| 16 | } |
| 17 | } |