zombie.ai
Class StateMachine
java.lang.Object
zombie.ai.StateMachine
public class StateMachine
- extends java.lang.Object
- Author:
- LEMMY
Field Summary |
boolean |
Lock
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lock
public boolean Lock
StateMachine
public StateMachine(IsoGameCharacter owner)
changeState
public void changeState(State newState)
changeState
public void changeState(State newState,
State nextState)
getCurrent
public State getCurrent()
getGlobal
public State getGlobal()
getPrevious
public State getPrevious()
RevertToPrevious
public void RevertToPrevious()
setCurrent
public void setCurrent(State state)
setGlobal
public void setGlobal(State state)
setPrevious
public void setPrevious(State state)
update
public void update()