(x: number, y: number)
| 112 | } |
| 113 | |
| 114 | private loadSecondHouse(x: number, y: number): void{ |
| 115 | // Buttons |
| 116 | this.renderArea.addMultipleAsciiButtons("mapVillageSecondHouseButton", |
| 117 | x+1, x+9, y, |
| 118 | x, x+10, y+1, |
| 119 | x-1, x+11, y+2, |
| 120 | x, x+10, y+3, |
| 121 | x, x+10, y+4, |
| 122 | x, x+10, y+5, |
| 123 | x, x+10, y+6, |
| 124 | x, x+10, y+7, |
| 125 | x, x+10, y+8); |
| 126 | // Comments |
| 127 | this.renderArea.addFullComment(x + 5, y + 9, Database.getText("mapVillageTheShopComment"), Database.getTranslatedText("mapVillageTheShopComment"), "mapVillageSecondHouseComment"); |
| 128 | // Interactions |
| 129 | this.renderArea.addLinkOver(".mapVillageSecondHouseButton, .mapVillageSecondHouseComment", ".mapVillageSecondHouseComment"); |
| 130 | this.renderArea.addLinkCall(".mapVillageSecondHouseButton, .mapVillageSecondHouseComment", new CallbackCollection(this.goToSecondHouse.bind(this))); |
| 131 | } |
| 132 | |
| 133 | private loadThirdHouse(x: number, y: number){ |
| 134 | // If we have the key to the third house |
no test coverage detected