(x: number, y: number)
| 77 | } |
| 78 | |
| 79 | private drawRoom2(x: number, y: number): void{ |
| 80 | // Buttons |
| 81 | this.renderArea.addMultipleAsciiButtons("castleRoom2Button", |
| 82 | x, x+1, y, |
| 83 | x, x+1, y+1); |
| 84 | |
| 85 | // Comment |
| 86 | this.renderArea.addFullComment(x - 6, y, Database.getText("castleADarkRoomComment"), Database.getTranslatedText("castleADarkRoomComment"), "castleRoom2Comment"); |
| 87 | |
| 88 | // Interactions |
| 89 | this.renderArea.addLinkOver(".castleRoom2Button, .castleRoom2Comment", ".castleRoom2Comment"); |
| 90 | this.renderArea.addLinkCall(".castleRoom2Button, .castleRoom2Comment", new CallbackCollection(this.goToRoom2.bind(this))); |
| 91 | } |
| 92 | |
| 93 | private drawRoom3(x: number, y: number): void{ |
| 94 | // Buttons |
no test coverage detected