Class WalkTowardState
java.lang.Object
zombie.ai.State
zombie.ai.states.WalkTowardState
- All Implemented Interfaces:
IAnimEventListener
,IAnimEventWrappedBroadcaster
-
Constructor Summary
Constructors -
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
getAnimEventBroadcaster, getDeltaModifiers, getName, getStatePermissions, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, setParams
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface zombie.core.skinnedmodel.advancedanimation.events.IAnimEventWrappedBroadcaster
addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener
-
Constructor Details
-
WalkTowardState
public WalkTowardState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
- Specified by:
animEvent
in interfaceIAnimEventListener
- Specified by:
animEvent
in interfaceIAnimEventWrappedBroadcaster
- Overrides:
animEvent
in classState
-
isMoving
Return TRUE if the owner is currently moving. Defaults to FALSE -
calculateTargetLocation
-