(x: number, y: number)
| 195 | } |
| 196 | |
| 197 | private loadFifthHouse(x: number, y: number): void{ |
| 198 | // Buttons |
| 199 | this.renderArea.addMultipleAsciiButtons("mapVillageFifthHouseButton", |
| 200 | x+1, x+9, y, |
| 201 | x, x+10, y+1, |
| 202 | x-1, x+11, y+2, |
| 203 | x, x+10, y+3, |
| 204 | x, x+10, y+4); |
| 205 | // Comments |
| 206 | this.renderArea.addFullComment(x + 5, y + 5, Database.getText("mapVillageAHouseComment"), Database.getTranslatedText("mapVillageAHouseComment"), "mapVillageFifthHouseComment"); |
| 207 | // Interactions |
| 208 | this.renderArea.addLinkOver(".mapVillageFifthHouseButton, .mapVillageFifthHouseComment", ".mapVillageFifthHouseComment"); |
| 209 | this.renderArea.addLinkCall(".mapVillageFifthHouseButton, .mapVillageFifthHouseComment", new CallbackCollection(this.goToFifthHouse.bind(this))); |
| 210 | } |
| 211 | } |
no test coverage detected