(game: Game)
| 35 | |
| 36 | // Constructor |
| 37 | constructor(game: Game){ |
| 38 | super(game); |
| 39 | |
| 40 | // Launch the interval and get the ID |
| 41 | this.timerIntervalID = setInterval(this.actionInterval.bind(this), 1000); |
| 42 | |
| 43 | // Resize and update |
| 44 | this.renderArea.resize(100, 57); |
| 45 | this.update(true); |
| 46 | } |
| 47 | |
| 48 | // getRenderArea() |
| 49 | public getRenderArea(): RenderArea{ |