Package zombie.ai.states
Class ClimbOverWallState
java.lang.Object
zombie.ai.State
zombie.ai.states.ClimbOverWallState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter owner, AnimEvent event) void
enter
(IsoGameCharacter owner) void
execute
(IsoGameCharacter owner) void
exit
(IsoGameCharacter owner) static ClimbOverWallState
instance()
boolean
isIgnoreCollide
(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Return TRUE if the owner should ignore collisions when passing between two squares.void
setParams
(IsoGameCharacter owner, IsoDirections dir) Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, getStatePermissions, isAttacking, isDoingActionThatCanBeCancelled, isMoving
-
Constructor Details
-
ClimbOverWallState
public ClimbOverWallState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
-
isIgnoreCollide
public boolean isIgnoreCollide(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Description copied from class:State
Return TRUE if the owner should ignore collisions when passing between two squares. Defaults to FALSE- Overrides:
isIgnoreCollide
in classState
-
setParams
-