(x: number, y: number)
| 87 | } |
| 88 | |
| 89 | private drawOnButton(x: number, y: number): void{ |
| 90 | // Draw the button |
| 91 | this.renderArea.addMultipleAsciiButtons("theComputerOnButton", |
| 92 | x + 1, x + 4, y, |
| 93 | x, x + 5, y + 1, |
| 94 | x + 1, x + 4, y + 2); |
| 95 | |
| 96 | // Add the link |
| 97 | this.renderArea.addLinkCall(".theComputerOnButton", new CallbackCollection(this.switchOnOff.bind(this))); |
| 98 | } |
| 99 | |
| 100 | private drawLines(x: number, y: number, minY: number): void{ |
| 101 | for(var i = this.lines.length-1; i >= 0; i--){ |
no test coverage detected