Package zombie.ai.states
Class WalkTowardState
java.lang.Object
zombie.ai.State
zombie.ai.states.WalkTowardState
public final class WalkTowardState extends State
-
Constructor Summary
Constructors Constructor Description WalkTowardState()
-
Method Summary
Modifier and Type Method Description void
animEvent(IsoGameCharacter gameCharacter, AnimEvent animEvent)
boolean
calculateTargetLocation(IsoZombie zombie, Vector2 vector2)
void
enter(IsoGameCharacter gameCharacter)
void
execute(IsoGameCharacter gameCharacter)
void
exit(IsoGameCharacter gameCharacter)
static WalkTowardState
instance()
boolean
isMoving(IsoGameCharacter gameCharacter)
Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WalkTowardState
public WalkTowardState()
-
-
Method Details