Class FitnessState
java.lang.Object
zombie.ai.State
zombie.ai.states.FitnessState
- 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<String> static final State.Param<String> static final State.Param<Boolean> static final State.Param<Float> static final State.Param<Boolean> -
Method Summary
Modifier and TypeMethodDescriptionvoidanimEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) voidenter(IsoGameCharacter owner) voidexit(IsoGameCharacter owner) static FitnessStateinstance()voidsetParams(IsoGameCharacter owner, State.Stage stage) Methods inherited from class State
execute, getAnimEventBroadcaster, getDeltaModifiers, getName, getParams, isIgnoreCollide, isProcessedOnEnter, isProcessedOnExit, isSyncInIdle, isSyncOnEnter, isSyncOnExit, isSyncOnSquare, loadFrom, processOnEnter, processOnExitMethods 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, isDoingActionThatCanBeCancelled, isMoving
-
Field Details
-
FITNESS_FINISHED
-
EXERCISE_ENDED
-
EXERCISE_TYPE
-
EXERCISE_HAND
-
FITNESS_SPEED
-
FITNESS_STRUGGLE
-
-
Method Details
-
instance
-
enter
-
exit
-
animEvent
public void animEvent(IsoGameCharacter owner, AnimLayer layer, AnimationTrack track, AnimEvent event) - Specified by:
animEventin interfaceIAnimEventListener- Specified by:
animEventin interfaceIAnimEventWrappedBroadcaster- Overrides:
animEventin classState
-
setParams
-