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 voidanimEvent(IsoGameCharacter gameCharacter, AnimEvent animEvent)voidenter(IsoGameCharacter gameCharacter)voidexecute(IsoGameCharacter gameCharacter)voidexit(IsoGameCharacter gameCharacter)voidgetDeltaModifiers(IsoGameCharacter gameCharacter, MoveDeltaModifiers moveDeltaModifiers)IsoObjectgetWindow(IsoGameCharacter gameCharacter)static ClimbThroughWindowStateinstance()booleanisIgnoreCollide(IsoGameCharacter gameCharacter, int int1, int int2, int int3, int int4, int int5, int int6)booleanisPastInnerEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions)booleanisPastOuterEdgeOfSquare(IsoGameCharacter gameCharacter, int int1, int int2, IsoDirections directions)booleanisWindowClosing(IsoGameCharacter gameCharacter)voidsetParams(IsoGameCharacter gameCharacter, IsoObject object)voidslideX(IsoGameCharacter gameCharacter, float float1)voidslideY(IsoGameCharacter gameCharacter, float float1)Methods inherited from class zombie.ai.State
getName, isAttacking, isDoingActionThatCanBeCancelled, isMovingMethods 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:
isIgnoreCollidein classState
-
getWindow
-
isWindowClosing
-
getDeltaModifiers
public void getDeltaModifiers(IsoGameCharacter gameCharacter, MoveDeltaModifiers moveDeltaModifiers)- Overrides:
getDeltaModifiersin 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
-