public abstract class State extends Object
onUpdate(double)
and not any other callbacks.| Constructor and Description |
|---|
State() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStateListener(StateListener listener) |
Input |
getInput() |
Timer |
getTimer() |
protected void |
onEnter(State prevState) |
protected void |
onExit() |
protected void |
onUpdate(double tpf) |
void |
removeStateListener(StateListener listener) |
String |
toString() |
public final Timer getTimer()
public final Input getInput()
public final void addStateListener(StateListener listener)
public final void removeStateListener(StateListener listener)
protected void onEnter(State prevState)
protected void onExit()
protected void onUpdate(double tpf)
Copyright © 2017. All rights reserved.