|
AI Toolkit
|
A stack FSM. More...
#include <fsm.hpp>
Public Member Functions | |
| template<state_trait< T > S> | |
| void | push_state (S state, T &blackboard) |
| Enters in a new state, pausing the previous one (if any). | |
| void | pop_state (T &blackboard) |
| Exits the current state, resuming the previous one (if any). | |
| void | update (T &blackboard) |
| Update the machine. | |
A stack FSM.