#include <state.h>
Public Methods | |
| virtual | ~State () |
| Destructor. | |
| virtual void | Check ()=0 |
| Call to determine condition of state. | |
| virtual void | Set (Action *action) |
| Initialize the action. | |
Protected Attributes | |
| Action * | mAction |
| The function that's called to act on condition of the state. | |
Acts as a switch to activate its assigned action.
1.2.17