|
Maze Builder Docs 8.2.1
|
struct representing a state in the runtime stack More...
#include <state.h>
Public Member Functions | |
| state (const runtime_app::context &c, runtime_stack *rs) | |
| virtual void | draw () const noexcept=0 |
| virtual bool | update (const std::optional< args > &args, double delta_time) noexcept=0 |
| Update the state with the given arguments and elapsed time. | |
Protected Member Functions | |
| void | request_stack_push (ID state_id) const noexcept |
| void | request_stack_pop () const noexcept |
| void | request_stack_clear () const noexcept |
| const runtime_app::context & | get_context () const noexcept |
| runtime_stack & | get_stack () const noexcept |
struct representing a state in the runtime stack
|
pure virtualnoexcept |
Implemented in mazes::bt_maze_create_state.
|
pure virtualnoexcept |
Update the state with the given arguments and elapsed time.
| args | The optional arguments to pass to the state's update function |
| delta_time | The elapsed time since the last update |
Implemented in mazes::bt_maze_create_state, mazes::dfs_maze_create_state, mazes::loading_state, mazes::parsing_state, mazes::pixels_create_state, mazes::stringify_create_state, mazes::sw_maze_create_state, and mazes::wavefront_object_create_state.