EntityStateMachine

Undocumented in source.

Constructors

this
this(Entity entity_a)

Constructor. Creates an EntityStateMachine.

Members

Functions

addState
EntityStateMachine addState(string name_a, EntityState state_a)

Add a state to this state machine.

changeState
void changeState(string name_a)

Change to a new state. The components from the old state will be removed and the components for the new state will be added.

createState
EntityState createState(string name_a)

Create a new state in this state machine.

Meta