Package zombie.ai.states
Class ClimbOverFenceState
java.lang.Object
zombie.ai.State
zombie.ai.states.ClimbOverFenceState
public final class ClimbOverFenceState extends State
-
Field Summary
Fields Modifier and Type Field Description static int
COLLIDE_WITH_WALL
static int
TRIP_TREE
static int
TRIP_ZOMBIE
-
Constructor Summary
Constructors Constructor Description ClimbOverFenceState()
-
Method Summary
Modifier and Type Method Description void
animEvent(IsoGameCharacter gameCharacter, AnimEvent animEvent)
void
enter(IsoGameCharacter gameCharacter)
void
execute(IsoGameCharacter gameCharacter)
void
exit(IsoGameCharacter gameCharacter)
void
getDeltaModifiers(IsoGameCharacter gameCharacter, MoveDeltaModifiers moveDeltaModifiers)
static ClimbOverFenceState
instance()
boolean
isIgnoreCollide(IsoGameCharacter gameCharacter, int int1, int int2, int int3, int int4, int int5, int int6)
void
setParams(IsoGameCharacter gameCharacter, IsoDirections directions)
Methods inherited from class zombie.ai.State
getName, isAttacking, isDoingActionThatCanBeCancelled, isMoving
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
TRIP_TREE
public static final int TRIP_TREE- See Also:
- Constant Field Values
-
TRIP_ZOMBIE
public static final int TRIP_ZOMBIE- See Also:
- Constant Field Values
-
COLLIDE_WITH_WALL
public static final int COLLIDE_WITH_WALL- See Also:
- Constant Field Values
-
-
Constructor Details
-
ClimbOverFenceState
public ClimbOverFenceState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
-
getDeltaModifiers
public void getDeltaModifiers(IsoGameCharacter gameCharacter, MoveDeltaModifiers moveDeltaModifiers)- Overrides:
getDeltaModifiers
in classState
-
isIgnoreCollide
public boolean isIgnoreCollide(IsoGameCharacter gameCharacter, int int1, int int2, int int3, int int4, int int5, int int6)- Overrides:
isIgnoreCollide
in classState
-
setParams
-