|  | Dragonfly 4.22
    A text-based game engine | 
| Public Member Functions | |
| State () | |
| void | setType (std::string new_type) | 
| std::string | getType () const | 
| virtual void | Enter (Object *p_obj) | 
| virtual void | Execute (Object *p_obj)=0 | 
| virtual void | Exit (Object *p_obj) | 
| Private Attributes | |
| std::string | m_state_type | 
| df::State::State | ( | ) | 
Name of state.
| 
 | virtual | 
Invoked when state first entered.
| 
 | pure virtual | 
Invoked every game loop step.
| 
 | virtual | 
Invoked when state exited.
| std::string df::State::getType | ( | ) | const | 
Get name of state.
| void df::State::setType | ( | std::string | new_type | ) | 
Set name of state.