(x: number, y: number, minY: number)
| 98 | } |
| 99 | |
| 100 | private drawLines(x: number, y: number, minY: number): void{ |
| 101 | for(var i = this.lines.length-1; i >= 0; i--){ |
| 102 | // We add the return value to our y var because it returns the extra lines it used |
| 103 | y -= this.lines[i].draw(this.renderArea, new Pos(x, y - (this.lines.length-1 - i)), minY); |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | private executeCommand(commandText: string): void{ |
| 108 | // Create an array from the command words |