(movement: Pos)
| 55 | |
| 56 | // Public methods |
| 57 | public setTargetTypeNoTarget(movement: Pos): void{ |
| 58 | this.targetType = FireballTargetType.NO_TARGET; |
| 59 | this.getQuestEntityMovement().setOffset(movement); // Set the movement (it will be kept later by itself) |
| 60 | } |
| 61 | |
| 62 | public setTargetTypeTargetEntity(entity: QuestEntity, specialTargetDamage: number = null, speed: Pos = new Pos(1, 1)): void{ |
| 63 | this.targetType = FireballTargetType.TARGET_ENTITY; |
no test coverage detected