Class SmashWindowState
java.lang.Object
zombie.ai.State
zombie.ai.states.SmashWindowState
- All Implemented Interfaces:
IStateFlagsSource, IAnimEventListener, IAnimEventWrappedBroadcaster
-
Nested Class Summary
Nested classes/interfaces inherited from class State
State.Param<T>, State.Stage -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final State.Param<Boolean> static final State.Param<IsoWindow> static final State.Param<Boolean> static final State.Param<BaseVehicle> static final State.Param<VehiclePart> static final State.Param<VehicleWindow> -
Method Summary
Modifier and TypeMethodDescriptionvoidanimEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) voidenter(IsoGameCharacter owner) voidexecute(IsoGameCharacter owner) voidexit(IsoGameCharacter owner) static SmashWindowStateinstance()booleanbooleanvoidprocessOnEnter(IsoGameCharacter owner, Map<Object, Object> delegate) Methods inherited from class State
getAnimEventBroadcaster, getDeltaModifiers, getName, getParams, isIgnoreCollide, isProcessedOnExit, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, loadFrom, processOnExit, setParamsMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IAnimEventWrappedBroadcaster
addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListener, addAnimEventListenerMethods inherited from interface IStateFlagsSource
canBeHitByVehicle, canRagdoll, canSlowDownVehicleWhenHit, causesDamageToVehicleWhenHit, isAttacking, isMoving
-
Field Details
-
SCRATCHED
-
ISO_WINDOW
-
VEHICLE_WINDOW
-
VEHICLE
-
VEHICLE_PART
-
CLIMB_THROUGH_WINDOW
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
animEvent
public void animEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) - Specified by:
animEventin interfaceIAnimEventListener- Specified by:
animEventin interfaceIAnimEventWrappedBroadcaster- Overrides:
animEventin classState
-
isDoingActionThatCanBeCancelled
public boolean isDoingActionThatCanBeCancelled()- Returns:
- TRUE if this state handles the "Cancel Action" key or the B controller button.
-
isProcessedOnEnter
public boolean isProcessedOnEnter()- Overrides:
isProcessedOnEnterin classState
-
processOnEnter
- Overrides:
processOnEnterin classState
-