(pos: Pos)
| 152 | } |
| 153 | |
| 154 | private addCamel(pos: Pos): void{ |
| 155 | var camel: QuestEntity; |
| 156 | |
| 157 | if(Random.oneChanceOutOf(20)) |
| 158 | camel = new TripodCamel(this, pos); |
| 159 | else |
| 160 | camel = new Camel(this, pos); |
| 161 | |
| 162 | camel.setHealthBar(new QuestEntityHealthBar(camel, new Pos(7, 1))); |
| 163 | this.addEntity(camel); |
| 164 | } |
| 165 | |
| 166 | private addGround(...positions: number[]): void{ |
| 167 | // Create the wall entity |
no test coverage detected