Simple C++ Game
Classes | Public Member Functions | List of all members
StateMachine Class Reference

Classes

class  State
 
class  StateTransition
 

Public Member Functions

 StateMachine (Dispatcher &dispatcher)
 
void start (std::shared_ptr< State > &initialState)
 
bool isStarted () const
 
void update (const sf::Time deltaT)
 
void executeTransition (const StateTransition &transition)
 
DispatchergetDispatcher () const
 
StategetState () const
 

The documentation for this class was generated from the following file: