Class AnimalFollowWallState
java.lang.Object
zombie.ai.State
zombie.ai.states.animals.AnimalFollowWallState
- 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) 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) Return TRUE if the owner is currently moving.voidvoidupdateParams(IsoAnimal animal) Methods inherited from class State
canRagdoll, getAnimEventBroadcaster, getDeltaModifiers, getName, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isProcessedOnEnter, isProcessedOnExit, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, processOnEnter, processOnExit, setParams
-
Constructor Details
-
AnimalFollowWallState
public AnimalFollowWallState()
-
-
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
Description copied from class:StateReturn TRUE if the owner is currently moving. Defaults to FALSE
-