(x: number, y: number)
| 382 | } |
| 383 | |
| 384 | private loadSorceressHut(x: number, y: number): void{ |
| 385 | // Buttons |
| 386 | this.renderArea.addMultipleAsciiButtons("mapSorceressHutButton", |
| 387 | x, x+3, y, |
| 388 | x, x+3, y+1); |
| 389 | // Comments |
| 390 | this.renderArea.addFullComment(x + 2, y + 3, Database.getText("mapSorceressHutComment"), Database.getTranslatedText("mapSorceressHutComment"), "mapSorceressHutComment"); |
| 391 | // Interactions |
| 392 | this.renderArea.addLinkOver(".mapSorceressHutButton, .mapSorceressHutComment", ".mapSorceressHutComment"); |
| 393 | this.renderArea.addLinkCall(".mapSorceressHutButton, .mapSorceressHutComment", new CallbackCollection(this.goToSorceressHut.bind(this))); |
| 394 | } |
| 395 | |
| 396 | private loadTheDesert(x: number, y: number): void{ |
| 397 | // Buttons |
no test coverage detected