Package zombie.ai.states
Class ClimbThroughWindowState
java.lang.Object
zombie.ai.State
zombie.ai.states.ClimbThroughWindowState
public final class ClimbThroughWindowState extends State
-
Constructor Summary
Constructors Constructor Description ClimbThroughWindowState()
-
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)
IsoObject
getWindow(IsoGameCharacter gameCharacter)
static ClimbThroughWindowState
instance()
boolean
isIgnoreCollide(IsoGameCharacter gameCharacter, int int1, int int2, int int3, int int4, int int5, int int6)
boolean
isPastInnerEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions)
boolean
isPastOuterEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions)
boolean
isWindowClosing(IsoGameCharacter gameCharacter)
void
setParams(IsoGameCharacter gameCharacter, IsoObject object)
void
slideX(IsoGameCharacter gameCharacter, float float1)
void
slideY(IsoGameCharacter gameCharacter, float float1)
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
-
Constructor Details
-
ClimbThroughWindowState
public ClimbThroughWindowState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
slideX
-
slideY
-
animEvent
-
isIgnoreCollide
public boolean isIgnoreCollide(IsoGameCharacter gameCharacter, int int1, int int2, int int3, int int4, int int5, int int6)- Overrides:
isIgnoreCollide
in classState
-
getWindow
-
isWindowClosing
-
getDeltaModifiers
public void getDeltaModifiers(IsoGameCharacter gameCharacter, MoveDeltaModifiers moveDeltaModifiers)- Overrides:
getDeltaModifiers
in classState
-
isPastInnerEdgeOfSquare
public boolean isPastInnerEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions) -
isPastOuterEdgeOfSquare
public boolean isPastOuterEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions) -
setParams
-