public interface AttackerListener
Modifier and Type | Method and Description |
---|---|
void |
notifyAttackAnimEnded()
Notify when attacker has played his attack completely.
|
void |
notifyAttackEnded(int damages,
Transformable target)
Notify when attacker has done his attack.
|
void |
notifyAttackStarted(Transformable target)
Notify when attacker is going to attack.
|
void |
notifyPreparingAttack()
Notify while attacker is waiting for next attack.
|
void |
notifyReachingTarget(Transformable target)
Notify while attacker is reaching target.
|
void notifyReachingTarget(Transformable target)
target
- The target to reach.void notifyAttackStarted(Transformable target)
target
- The target reference.void notifyAttackEnded(int damages, Transformable target)
target
- The target reference.damages
- The final damages.void notifyAttackAnimEnded()
void notifyPreparingAttack()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.