(game: Game)
| 27 | |
| 28 | // Constructor |
| 29 | constructor(game: Game){ |
| 30 | super(game); |
| 31 | |
| 32 | // Resize the area |
| 33 | this.renderArea.resize(100, 48); |
| 34 | |
| 35 | // Update for the first time |
| 36 | this.update(); |
| 37 | } |
| 38 | |
| 39 | // getRenderArea() |
| 40 | public getRenderArea(): RenderArea{ |