(x: number, y: number)
| 307 | } |
| 308 | |
| 309 | private loadFortress(x: number, y: number): void{ |
| 310 | // Buttons |
| 311 | this.renderArea.addMultipleAsciiButtons("mapFortressButton", |
| 312 | x+1, x+3, y, |
| 313 | x+10, x+12, y, |
| 314 | x, x+4, y+1, |
| 315 | x+9, x+13, y+1, |
| 316 | x, x+13, y+2, |
| 317 | x, x+13, y+3, |
| 318 | x, x+13, y+4); |
| 319 | // Comments |
| 320 | this.renderArea.addFullComment(x + 7, y + 2, Database.getText("mapFortressComment"), Database.getTranslatedText("mapFortressComment"), "mapFortressComment"); |
| 321 | // Interactions |
| 322 | this.renderArea.addLinkOver(".mapFortressButton, .mapFortressComment", ".mapFortressComment"); |
| 323 | this.renderArea.addLinkCall(".mapFortressButton, .mapFortressComment", new CallbackCollection(this.goToFortress.bind(this))); |
| 324 | } |
| 325 | |
| 326 | private loadLighthouse(x: number, y: number): void{ |
| 327 | // Buttons |
no test coverage detected