Package zombie.ai
Class StateMachine
java.lang.Object
zombie.ai.StateMachine
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeState(State state, Iterable iterable) voidchangeState(State state, Iterable iterable, boolean boolean1) getSubStateAt(int int1) intbooleanisLocked()booleanisSubstate(State state) voidrevertToPreviousState(State state) voidsetLocked(boolean boolean1) final voidstateAnimEvent(int int1, AnimEvent animEvent) voidupdate()
-
Field Details
-
activeStateChanged
public int activeStateChanged
-
-
Constructor Details
-
StateMachine
-
-
Method Details
-
changeState
-
changeState
-
isSubstate
-
getCurrent
-
getPrevious
-
getSubStateCount
public int getSubStateCount() -
getSubStateAt
-
revertToPreviousState
-
update
public void update() -
stateAnimEvent
-
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean boolean1)
-