(x: number, y: number)
| 63 | } |
| 64 | |
| 65 | private drawRoom1(x: number, y: number): void{ |
| 66 | // Buttons |
| 67 | this.renderArea.addMultipleAsciiButtons("castleRoom1Button", |
| 68 | x, x+1, y, |
| 69 | x, x+1, y+1); |
| 70 | |
| 71 | // Comment |
| 72 | this.renderArea.addFullComment(x - 6, y, Database.getText("castleARoomComment"), Database.getTranslatedText("castleARoomComment"), "castleRoom1Comment"); |
| 73 | |
| 74 | // Interactions |
| 75 | this.renderArea.addLinkOver(".castleRoom1Button, .castleRoom1Comment", ".castleRoom1Comment"); |
| 76 | this.renderArea.addLinkCall(".castleRoom1Button, .castleRoom1Comment", new CallbackCollection(this.goToRoom1.bind(this))); |
| 77 | } |
| 78 | |
| 79 | private drawRoom2(x: number, y: number): void{ |
| 80 | // Buttons |
no test coverage detected