A state to use in a finite state machine.
More...
#include <State.hpp>
|
virtual | ~State ()=default |
| Virtual destructor.
|
|
virtual void | on_push ()=0 |
| Triggered when state is pushed onto the stack.
|
|
virtual void | on_pop ()=0 |
| Triggered when state is popped off the stack.
|
|
virtual void | update ()=0 |
| Handle state events / update state data.
|
|
|
| State ()=default |
| Constructor.
|
|
A state to use in a finite state machine.
Definition at line 18 of file State.hpp.
◆ ~State()
virtual galaxy::state::State::~State |
( |
| ) |
|
|
virtualdefault |
◆ State()
galaxy::state::State::State |
( |
| ) |
|
|
protecteddefault |
◆ on_push()
virtual void galaxy::state::State::on_push |
( |
| ) |
|
|
pure virtual |
Triggered when state is pushed onto the stack.
◆ on_pop()
virtual void galaxy::state::State::on_pop |
( |
| ) |
|
|
pure virtual |
Triggered when state is popped off the stack.
◆ update()
virtual void galaxy::state::State::update |
( |
| ) |
|
|
pure virtual |
Handle state events / update state data.
The documentation for this class was generated from the following file: