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