Package zombie.ai
Class StateMachine
java.lang.Object
zombie.ai.StateMachine
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeState
(State state, Iterable iterable) void
changeState
(State state, Iterable iterable, boolean boolean1) getSubStateAt
(int int1) int
boolean
isLocked()
boolean
isSubstate
(State state) void
revertToPreviousState
(State state) void
setLocked
(boolean boolean1) final void
stateAnimEvent
(int int1, AnimEvent animEvent) void
update()
-
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)
-