Encapsulate the process required to switch an entity from state to state using a state switching function. Add extra minor debug markers.
Encapsulate the process required to switch an entity from state to state using a state switching function. Add extra minor debug markers.