(x: number, y: number)
| 97 | |
| 98 | // Private "load" methods |
| 99 | private loadFirstHouse(x: number, y: number): void{ |
| 100 | // Buttons |
| 101 | this.renderArea.addMultipleAsciiNinjaButtons("mapVillageFirstHouseButton", |
| 102 | x+6, x+8, y, |
| 103 | x+1, x+10, y+1, |
| 104 | x, x+11, y+2, |
| 105 | x-1, x+12, y+3, |
| 106 | x, x+11, y+4, |
| 107 | x, x+11, y+5); |
| 108 | // Comments |
| 109 | this.renderArea.addFullComment(x + 6, y + 6, Database.getText("mapVillageLockedHouseComment"), Database.getTranslatedText("mapVillageLockedHouseComment"), "mapVillageFirstHouseComment"); |
| 110 | // Interactions |
| 111 | this.renderArea.addLinkOver(".mapVillageFirstHouseButton, .mapVillageFirstHouseComment", ".mapVillageFirstHouseComment"); |
| 112 | } |
| 113 | |
| 114 | private loadSecondHouse(x: number, y: number): void{ |
| 115 | // Buttons |
no test coverage detected