public class StateController<T extends IEntity> extends StateMachine implements IBehaviorController
| Modifier | Constructor and Description |
|---|---|
protected |
StateController(T entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
void |
detach() |
T |
getEntity() |
getCurrentState, setState, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateprotected StateController(T entity)
public T getEntity()
getEntity in interface IEntityProviderpublic void detach()
detach in interface IEntityControllerpublic void attach()
attach in interface IEntityController