Package zombie.ai.states
Class WalkTowardState
java.lang.Object
zombie.ai.State
zombie.ai.states.WalkTowardState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter owner, AnimEvent event) boolean
calculateTargetLocation
(IsoZombie zomb, Vector2 location) void
enter
(IsoGameCharacter owner) void
execute
(IsoGameCharacter owner) void
exit
(IsoGameCharacter owner) static WalkTowardState
instance()
boolean
isMoving
(IsoGameCharacter owner) Return TRUE if the owner is currently moving.Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, getStatePermissions, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide
-
Constructor Details
-
WalkTowardState
public WalkTowardState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
-
isMoving
Return TRUE if the owner is currently moving. Defaults to FALSE -
calculateTargetLocation
-