(xPosition: number = 294)
| 116 | } |
| 117 | |
| 118 | private addWolf(xPosition: number = 294): boolean{ // By default the wolf will be added at the end of the forest |
| 119 | var wolf: QuestEntity = new Wolf(this, new Pos(xPosition, this.groundYPosition-2)); |
| 120 | wolf.setHealthBar(new QuestEntityHealthBar(wolf, new Pos(7, 1))); |
| 121 | return this.addEntity(wolf); |
| 122 | } |
| 123 | |
| 124 | private monstersHandling(): void{ |
| 125 | // If it's time to add a tree spirit |
no test coverage detected