This is a state machine for an entity. The state machine manages a set of states,
each of which has a set of component providers. When the state machine changes the state, it removes
components associated with the previous state and adds components associated with the new state.
This is a state machine for an entity. The state machine manages a set of states, each of which has a set of component providers. When the state machine changes the state, it removes components associated with the previous state and adds components associated with the new state.