(x: number, y: number)
| 158 | |
| 159 | // Private "load" methods |
| 160 | private loadATree(x: number, y: number): void{ |
| 161 | // Buttons |
| 162 | this.renderArea.addMultipleAsciiButtons("mapATreeButton", |
| 163 | x+2, x+5, y, |
| 164 | x+1, x+6, y+1, |
| 165 | x, x+7, y+2, |
| 166 | x+2, x+5, y+3, |
| 167 | x+2, x+5, y+4); |
| 168 | // Comments |
| 169 | this.renderArea.addFullComment(x - 2, y + 3, Database.getText("mapATreeComment"), Database.getTranslatedText("mapATreeComment"), "mapATreeComment"); |
| 170 | // Interactions |
| 171 | this.renderArea.addLinkOver(".mapATreeButton, .mapATreeComment", ".mapATreeComment"); |
| 172 | this.renderArea.addLinkCall(".mapATreeButton, .mapATreeComment", new CallbackCollection(this.goToATree.bind(this))); |
| 173 | } |
| 174 | |
| 175 | private loadBridge(x: number, y: number): void{ |
| 176 | // Buttons |
no test coverage detected