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 zombie.ai.State
State.Stage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanimEvent(IsoGameCharacter character, AnimLayer animLayer, AnimationTrack animationTrack, AnimEvent animEvent) voidcheckNoCollide(IsoAnimal animal) booleancontinueFollowingWall(IsoAnimal animal) booleandecideRotation(IsoAnimal animal, IsoDirections directions) voidenter(IsoGameCharacter character) voidexecute(IsoGameCharacter character) voidexit(IsoGameCharacter character) voidfollowWall(IsoAnimal animal) voidstatic AnimalFollowWallStateinstance()booleanisMoving(IsoGameCharacter var1) Return TRUE if the owner is currently moving.voidvoidupdateParams(IsoAnimal animal) Methods inherited from class zombie.ai.State
canRagdoll, getAnimEventBroadcaster, getDeltaModifiers, getName, getStatePermissions, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, setParamsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface zombie.core.skinnedmodel.advancedanimation.events.IAnimEventWrappedBroadcaster
addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener
-
Constructor Details
-
AnimalFollowWallState
public AnimalFollowWallState()
-
-
Method Details
-
instance
-
enter
-
decideRotation
-
execute
-
checkNoCollide
-
noCollide
-
continueFollowingWall
-
followWall
-
go
-
updateParams
-
exit
-
animEvent
public void animEvent(IsoGameCharacter character, AnimLayer animLayer, AnimationTrack animationTrack, AnimEvent animEvent) - 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
-