1package com.runehive.game.world.entity.combat.attack.listener.npc;
3import com.runehive.game.Animation;
4import com.runehive.game.UpdatePriority;
5import com.runehive.game.world.entity.combat.attack.listener.NpcCombatListenerSignature;
6import com.runehive.game.world.entity.combat.attack.listener.SimplifiedListener;
7import com.runehive.game.world.entity.combat.hit.Hit;
8import com.runehive.game.world.entity.combat.strategy.npc.NpcMagicStrategy;
9import com.runehive.game.world.entity.mob.Mob;
10import com.runehive.game.world.entity.mob.npc.Npc;
12import static com.runehive.game.world.entity.combat.projectile.CombatProjectile.getDefinition;
29 super(getDefinition(
"Fire Bolt"));
Class that models a single animation used by an entity.
Animation getAttackAnimation(Npc attacker, Mob defender)
void start(Npc attacker, Mob defender, Hit[] hits)
A Hit object holds the damage amount and hitsplat data.
NpcMagicStrategy(CombatProjectile combatProjectile)
Represents a non-player character in the in-game world.
void setStrategy(CombatStrategy< Npc > strategy)
Represents different priorities for updating.
VERY_HIGH
A very high priority.