Class AnimalPathFindState
java.lang.Object
zombie.ai.State
zombie.ai.states.animals.AnimalPathFindState
- All Implemented Interfaces:
IAnimEventListener, IAnimEventWrappedBroadcaster
-
Nested Class Summary
Nested classes/interfaces inherited from class State
State.Stage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanimEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) voidenter(IsoGameCharacter owner) voidexecute(IsoGameCharacter owner) voidexit(IsoGameCharacter owner) static AnimalPathFindStateinstance()booleanisMoving(IsoGameCharacter owner) Return TRUE if the owner is currently moving.Methods inherited from class State
canRagdoll, getAnimEventBroadcaster, getDeltaModifiers, getName, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isProcessedOnEnter, isProcessedOnExit, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, processOnEnter, processOnExit, setParams
-
Constructor Details
-
AnimalPathFindState
public AnimalPathFindState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
public void animEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) - Specified by:
animEventin interfaceIAnimEventListener- Specified by:
animEventin interfaceIAnimEventWrappedBroadcaster- Overrides:
animEventin classState
-
isMoving
Description copied from class:StateReturn TRUE if the owner is currently moving. Defaults to FALSE
-