(game: Game)
| 13 | |
| 14 | // Constructor |
| 15 | constructor(game: Game){ |
| 16 | super(game); |
| 17 | |
| 18 | // If we're going to play tic tac toe |
| 19 | if(Saving.loadNumber("aTreeStep") == 7){ |
| 20 | this.startTicTacToe(); |
| 21 | } |
| 22 | |
| 23 | // If we're at step 8 (just won the tic tac toe game), go on to step 9 |
| 24 | if(Saving.loadNumber("aTreeStep") == 8) |
| 25 | this.nextStep(); |
| 26 | |
| 27 | // Resize & update |
| 28 | this.renderArea.resizeFromArray(Database.getAscii("places/aTree/background"), 17, 3); |
| 29 | this.update(); |
| 30 | } |
| 31 | |
| 32 | // getRenderArea() |
| 33 | public getRenderArea(): RenderArea{ |
nothing calls this directly
no test coverage detected