(pos: Pos)
| 69 | |
| 70 | // Public methods |
| 71 | public addBigShark(pos: Pos): BigShark{ |
| 72 | var bigShark: BigShark = new BigShark(this, pos); |
| 73 | bigShark.setHealthBar(new QuestEntityHealthBar(bigShark, new Pos(47, 1))); |
| 74 | if(this.addEntity(bigShark)) // If we manage to add the entity |
| 75 | return bigShark; // We return it |
| 76 | return null; // Else, we return null |
| 77 | } |
| 78 | |
| 79 | public addJellyFish(pos: Pos): JellyFish{ |
| 80 | var jellyFish: JellyFish = new JellyFish(this, pos); |
no test coverage detected