(x: number, y: number)
| 179 | } |
| 180 | |
| 181 | private loadFourthHouse(x: number, y: number): void{ |
| 182 | // Buttons |
| 183 | this.renderArea.addMultipleAsciiButtons("mapVillageFourthHouseButton", |
| 184 | x+3, x+5, y, |
| 185 | x+1, x+10, y+1, |
| 186 | x, x+11, y+2, |
| 187 | x-1, x+12, y+3, |
| 188 | x, x+11, y+4, |
| 189 | x, x+11, y+5); |
| 190 | // Comments |
| 191 | this.renderArea.addFullComment(x + 6, y + 6, Database.getText("mapVillageAHouseComment"), Database.getTranslatedText("mapVillageAHouseComment"), "mapVillageFourthHouseComment"); |
| 192 | // Interactions |
| 193 | this.renderArea.addLinkOver(".mapVillageFourthHouseButton, .mapVillageFourthHouseComment", ".mapVillageFourthHouseComment"); |
| 194 | this.renderArea.addLinkCall(".mapVillageFourthHouseButton, .mapVillageFourthHouseComment", new CallbackCollection(this.goToFourthHouse.bind(this))); |
| 195 | } |
| 196 | |
| 197 | private loadFifthHouse(x: number, y: number): void{ |
| 198 | // Buttons |
no test coverage detected