Simple C++ Game
Public Member Functions | List of all members
StateMachine::State Class Reference
Inheritance diagram for StateMachine::State:
Inheritance graph
[legend]

Public Member Functions

 State (StateMachine &owner)
 
virtual void entry ()
 
virtual void exit ()
 
virtual void update (const sf::Time deltaT)
 
void handleEvent (const Event &event)
 
void registerEventResponse (const std::string eventId, const std::function< void(const Event &)> response)
 
void registerTransition (const std::string eventId, const StateTransition &transition)
 
void registerTransition (const std::string eventId, std::shared_ptr< State > &target)
 

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