(x: number, y: number)
| 105 | } |
| 106 | |
| 107 | private drawStairs(x: number, y: number): void{ |
| 108 | // Buttons |
| 109 | this.renderArea.addMultipleAsciiButtons("castleStairsButton", |
| 110 | x, x+4, y, |
| 111 | x, x+4, y+1, |
| 112 | x, x+4, y+2, |
| 113 | x, x+4, y+3, |
| 114 | x, x+4, y+4); |
| 115 | |
| 116 | // Comment |
| 117 | this.renderArea.addFullComment(x + 10, y+2, Database.getText("castleStairsComment"), Database.getTranslatedText("castleStairsComment"), "castleStairsComment"); |
| 118 | |
| 119 | // Interactions |
| 120 | this.renderArea.addLinkOver(".castleStairsButton, .castleStairsComment", ".castleStairsComment"); |
| 121 | this.renderArea.addLinkCall(".castleStairsButton", new CallbackCollection(this.goToStairs.bind(this))); |
| 122 | } |
| 123 | |
| 124 | private drawTowerEntrance(x: number, y: number): void{ |
| 125 | // Buttons |
no test coverage detected