(x: number, y: number)
| 173 | } |
| 174 | |
| 175 | private loadBridge(x: number, y: number): void{ |
| 176 | // Buttons |
| 177 | this.renderArea.addMultipleAsciiButtons("mapBridgeButton", |
| 178 | x, x+3, y, |
| 179 | x, x+3, y+1, |
| 180 | x, x+3, y+2, |
| 181 | x, x+3, y+3, |
| 182 | x, x+3, y+4, |
| 183 | x, x+3, y+5); |
| 184 | // Comments |
| 185 | this.renderArea.addFullComment(x + 2, y + 2, Database.getText("mapBridgeComment"), Database.getTranslatedText("mapBridgeComment"), "mapBridgeComment"); |
| 186 | // Interactions |
| 187 | this.renderArea.addLinkOver(".mapBridgeButton, .mapBridgeComment", ".mapBridgeComment"); |
| 188 | this.renderArea.addLinkCall(".mapBridgeButton, .mapBridgeComment", new CallbackCollection(this.goToBridge.bind(this))); |
| 189 | } |
| 190 | |
| 191 | private loadCastle(x: number, y: number): void{ |
| 192 | // Buttons |
no test coverage detected