public abstract class StateComponent extends Component
| Constructor and Description |
|---|
StateComponent() |
StateComponent(State state) |
| Modifier and Type | Method and Description |
|---|---|
State |
getState() |
boolean |
isAllowStateReentrance() |
void |
onUpdate(double tpf) |
protected void |
preUpdate(double tpf)
Called before state update.
|
void |
setAllowStateReentrance(boolean allowStateReentrance) |
void |
setState(State state) |
public StateComponent(State state)
public StateComponent()
public boolean isAllowStateReentrance()
public void setAllowStateReentrance(boolean allowStateReentrance)
protected void preUpdate(double tpf)
public final void setState(State state)
public final State getState()
Copyright © 2018. All rights reserved.