Class ClimbThroughWindowState
java.lang.Object
zombie.ai.State
zombie.ai.states.ClimbThroughWindowState
- All Implemented Interfaces:
IAnimEventListener
,IAnimEventWrappedBroadcaster
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
animEvent
(IsoGameCharacter owner, AnimEvent event) void
enter
(IsoGameCharacter owner) void
execute
(IsoGameCharacter owner) void
exit
(IsoGameCharacter owner) static void
getClimbThroughWindowPositioningParams
(IsoGameCharacter character, IsoObject object, ClimbThroughWindowPositioningParams climbThroughWindowPositioningParams) void
getDeltaModifiers
(IsoGameCharacter owner, MoveDeltaModifiers modifiers) static IsoGridSquare
getFreeSquareAfterObstacles
(IsoGridSquare square1, IsoDirections directions) getPositioningParams
(IsoGameCharacter character) getWindow
(IsoGameCharacter owner) static ClimbThroughWindowState
instance()
static boolean
isFreeSquare
(IsoGridSquare square) boolean
isIgnoreCollide
(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Description copied from class: Statestatic boolean
isObstacleSquare
(IsoGridSquare square) boolean
isPastInnerEdgeOfSquare
(IsoGameCharacter owner, int x, int y, IsoDirections moveDir) boolean
isPastOuterEdgeOfSquare
(IsoGameCharacter owner, int x, int y, IsoDirections moveDir) boolean
boolean
boolean
boolean
isWindowClosing
(IsoGameCharacter owner) void
setParams
(IsoGameCharacter character) void
setParams
(IsoGameCharacter owner, IsoObject obj) static void
slideCharacterToWindowOpening
(IsoGameCharacter character, ClimbThroughWindowPositioningParams climbThroughWindowPositioningParams) static void
slideX
(IsoGameCharacter character, float float1) static void
slideY
(IsoGameCharacter character, float float1) Methods inherited from class zombie.ai.State
getAnimEventBroadcaster, getName, getStatePermissions, isAttacking, isDoingActionThatCanBeCancelled, isMoving, isSyncInIdle
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
-
ClimbThroughWindowState
public ClimbThroughWindowState()
-
-
Method Details
-
instance
-
enter
-
execute
-
slideCharacterToWindowOpening
public static void slideCharacterToWindowOpening(IsoGameCharacter character, ClimbThroughWindowPositioningParams climbThroughWindowPositioningParams) -
exit
-
slideX
-
slideY
-
animEvent
- Specified by:
animEvent
in interfaceIAnimEventListener
- Specified by:
animEvent
in interfaceIAnimEventWrappedBroadcaster
- Overrides:
animEvent
in classState
-
isIgnoreCollide
public boolean isIgnoreCollide(IsoGameCharacter owner, int fromX, int fromY, int fromZ, int toX, int toY, int toZ) Description copied from class: State- Overrides:
isIgnoreCollide
in classState
-
getWindow
-
isWindowClosing
-
getDeltaModifiers
- Overrides:
getDeltaModifiers
in classState
-
isFreeSquare
-
isObstacleSquare
-
getFreeSquareAfterObstacles
public static IsoGridSquare getFreeSquareAfterObstacles(IsoGridSquare square1, IsoDirections directions) -
isPastInnerEdgeOfSquare
-
isPastOuterEdgeOfSquare
-
setParams
-
getClimbThroughWindowPositioningParams
public static void getClimbThroughWindowPositioningParams(IsoGameCharacter character, IsoObject object, ClimbThroughWindowPositioningParams climbThroughWindowPositioningParams) -
getPositioningParams
-
setParams
-
isSyncOnEnter
public boolean isSyncOnEnter()- Overrides:
isSyncOnEnter
in classState
-
isSyncOnExit
public boolean isSyncOnExit()- Overrides:
isSyncOnExit
in classState
-
isSyncOnSquare
public boolean isSyncOnSquare()- Overrides:
isSyncOnSquare
in classState
-