Package zombie.ai
Class StateMachine
java.lang.Object
zombie.ai.StateMachine
public final class StateMachine
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StateMachine.SubstateSlot
-
Field Summary
Fields Modifier and Type Field Description int
activeStateChanged
-
Constructor Summary
Constructors Constructor Description StateMachine(IsoGameCharacter gameCharacter)
-
Method Summary
Modifier and Type Method Description void
changeState(State state, java.lang.Iterable iterable)
void
changeState(State state, java.lang.Iterable iterable, boolean boolean1)
State
getCurrent()
State
getPrevious()
State
getSubStateAt(int int1)
int
getSubStateCount()
boolean
isLocked()
boolean
isSubstate(State state)
void
revertToPreviousState(State state)
void
setLocked(boolean boolean1)
void
stateAnimEvent(int int1, AnimEvent animEvent)
void
update()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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)
-