(x: number, y: number)
| 99 | } |
| 100 | |
| 101 | private drawFireButton(x: number, y: number): void{ |
| 102 | // Add the button |
| 103 | this.renderArea.addMultipleAsciiButtons("castleRoom2LightFireButton", |
| 104 | x, x+16, y, |
| 105 | x, x+16, y+1, |
| 106 | x, x+16, y+2, |
| 107 | x, x+16, y+3, |
| 108 | x, x+16, y+4, |
| 109 | x, x+16, y+5); |
| 110 | |
| 111 | // Add the link |
| 112 | this.renderArea.addLinkCall(".castleRoom2LightFireButton", new CallbackCollection(this.lightFire.bind(this))); |
| 113 | } |
| 114 | |
| 115 | private drawObject(x: number, y: number): void{ |
| 116 | // Draw the ascii art |
no test coverage detected