(x: number, y: number)
| 163 | } |
| 164 | |
| 165 | private loadForge(x: number, y: number){ |
| 166 | // Buttons |
| 167 | this.renderArea.addMultipleAsciiButtons("mapVillageForgeButton", |
| 168 | x+3, x+6, y, |
| 169 | x+1, x+10, y+1, |
| 170 | x, x+11, y+2, |
| 171 | x-1, x+12, y+3, |
| 172 | x, x+11, y+4, |
| 173 | x, x+11, y+5); |
| 174 | // Comments |
| 175 | this.renderArea.addFullComment(x + 6, y + 6, Database.getText("mapVillageForgeComment"), Database.getTranslatedText("mapVillageForgeComment"), "mapVillageForgeComment"); |
| 176 | // Interactions |
| 177 | this.renderArea.addLinkOver(".mapVillageForgeButton, .mapVillageForgeComment", ".mapVillageForgeComment"); |
| 178 | this.renderArea.addLinkCall(".mapVillageForgeButton, .mapVillageForgeComment", new CallbackCollection(this.goToForge.bind(this))); |
| 179 | } |
| 180 | |
| 181 | private loadFourthHouse(x: number, y: number): void{ |
| 182 | // Buttons |
no test coverage detected