()
| 100 | |
| 101 | // Private methods |
| 102 | private addGround(): void{ |
| 103 | var ground: Wall = new Wall(this, new Pos(0, 0)); |
| 104 | ground.addBox(new Pos(0, this.groundYPosition+1), new Pos(350, 1)); |
| 105 | this.addEntity(ground); |
| 106 | } |
| 107 | |
| 108 | private addMosquito(): boolean{ |
| 109 | return this.addEntity(new Mosquito(this, new Pos(0, this.groundYPosition-Random.between(3, 7)), this.groundYPosition)); |
no test coverage detected