(x: number, y: number)
| 357 | } |
| 358 | |
| 359 | private loadMoutains(x: number, y: number): void{ |
| 360 | // The "*" show that there's a pogo stick here |
| 361 | this.renderArea.drawString("*", 71, 52); |
| 362 | // Button |
| 363 | this.renderArea.addMultipleAsciiButtons("mapMoutainsButton", |
| 364 | x, x+1, y); |
| 365 | // Interactions |
| 366 | this.renderArea.addLinkOver(".mapMoutainsButton, .mapMoutainsComment", ".mapMoutainsComment"); |
| 367 | this.renderArea.addLinkCall(".mapMoutainsButton, .mapMoutainsComment", new CallbackCollection(this.goToMoutains.bind(this))); |
| 368 | } |
| 369 | |
| 370 | private loadPier(x: number, y: number): void{ |
| 371 | // Buttons |
no test coverage detected