|
AI Toolkit
|
A simple FSM. More...
#include <fsm.hpp>
Public Member Functions | |
| template<state_trait< T > S> | |
| void | set_state (S state, T &blackboard) |
| Enters in a new state, exiting the previous one (if any). | |
| void | clear_state (T &blackboard) |
| Clear the current state. | |
| void | pause (T &blackboard) |
| Pause the machine. | |
| void | resume (T &blackboard) |
| Resume the machine. | |
| void | update (T &blackboard) |
| Update the machine. | |
A simple FSM.