Class AnimalFollowWallState
java.lang.Object
zombie.ai.State
zombie.ai.states.animals.AnimalFollowWallState
- All Implemented Interfaces:
IAnimEventListener
,IAnimEventWrappedBroadcaster
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter character, AnimEvent animEvent) void
checkNoCollide
(IsoAnimal animal) boolean
continueFollowingWall
(IsoAnimal animal) boolean
decideRotation
(IsoAnimal animal, IsoDirections directions) void
enter
(IsoGameCharacter character) void
execute
(IsoGameCharacter character) void
exit
(IsoGameCharacter character) void
followWall
(IsoAnimal animal) void
static AnimalFollowWallState
instance()
boolean
isMoving
(IsoGameCharacter var1) Return TRUE if the owner is currently moving.void
void
updateParams
(IsoAnimal animal) 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
equals, 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
-
AnimalFollowWallState
public AnimalFollowWallState()
-
-
Method Details
-
instance
-
enter
-
decideRotation
-
execute
-
checkNoCollide
-
noCollide
-
continueFollowingWall
-
followWall
-
go
-
updateParams
-
exit
-
animEvent
- Specified by:
animEvent
in interfaceIAnimEventListener
- Specified by:
animEvent
in interfaceIAnimEventWrappedBroadcaster
- Overrides:
animEvent
in classState
-
isMoving
Description copied from class:State
Return TRUE if the owner is currently moving. Defaults to FALSE
-