Class StateManager

Class Documentation

class StateManager

A state-machine-like class used to mantain and update states in classes like the PlayerController.

Public Functions

virtual void update(float deltaMilliseconds)
void transition(Ptr<State> newState)

Protected Functions

StateManager(Ptr<State> &&currentState)
virtual ~StateManager()

Protected Attributes

Ptr<State> m_CurrentState