(x: number, y: number)
| 433 | } |
| 434 | |
| 435 | private loadVillage(x: number, y: number): void{ |
| 436 | // Buttons |
| 437 | this.renderArea.addMultipleAsciiButtons("mapVillageButton", |
| 438 | x+11, x+19, y, |
| 439 | x+7, x+19, y+1, |
| 440 | x+4, x+21, y+2, |
| 441 | x, x+21, y+3, |
| 442 | x, x+18, y+4, |
| 443 | x+4, x+18, y+5, |
| 444 | x+8, x+11, y+6); |
| 445 | // Comments |
| 446 | this.renderArea.addFullComment(x + 11, y + 3, Database.getText("mapVillageComment"), Database.getTranslatedText("mapVillageComment"), "mapVillageComment"); |
| 447 | // Interactions |
| 448 | this.renderArea.addLinkOver(".mapVillageButton, .mapVillageComment", ".mapVillageComment"); |
| 449 | this.renderArea.addLinkCall(".mapVillageButton, .mapVillageComment", new CallbackCollection(this.getGame().goToVillage.bind(this.getGame()))); |
| 450 | } |
| 451 | |
| 452 | private loadWishingWell(x: number, y: number): void{ |
| 453 | // Buttons |
no test coverage detected