Class AnimalFollowWallState
java.lang.Object
zombie.ai.State
zombie.ai.states.animals.AnimalFollowWallState
- All Implemented Interfaces:
IStateFlagsSource, IAnimEventListener, IAnimEventWrappedBroadcaster
-
Nested Class Summary
Nested classes/interfaces inherited from class State
State.Param<T>, State.Stage -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final State.Param<IsoDirections> static final State.Param<Boolean> static final State.Param<Float> static final State.Param<Float> -
Method Summary
Modifier and TypeMethodDescriptionvoidanimEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) voidcheckNoCollide(IsoAnimal animal) booleancontinueFollowingWall(IsoAnimal animal) booleandecideRotation(IsoAnimal animal, IsoDirections collideDir) voidenter(IsoGameCharacter owner) voidexecute(IsoGameCharacter owner) voidexit(IsoGameCharacter owner) voidfollowWall(IsoAnimal animal) voidstatic AnimalFollowWallStateinstance()booleanisMoving(IsoGameCharacter owner) voidvoidupdateParams(IsoAnimal animal) Methods inherited from class State
getAnimEventBroadcaster, getDeltaModifiers, getName, getParams, isIgnoreCollide, isProcessedOnEnter, isProcessedOnExit, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, loadFrom, processOnEnter, processOnExit, setParamsMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnimEventWrappedBroadcaster
addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListenerMethods inherited from interface IStateFlagsSource
canBeHitByVehicle, canRagdoll, canSlowDownVehicleWhenHit, causesDamageToVehicleWhenHit, isAttacking, isDoingActionThatCanBeCancelled
-
Field Details
-
REPATHDELAY
-
TIMETOSTOP_FOLLOWING_WALL
-
CW
-
CURRENTDIR
-
-
Method Details
-
instance
-
enter
-
decideRotation
-
execute
-
checkNoCollide
-
noCollide
-
continueFollowingWall
-
followWall
-
go
-
updateParams
-
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
-