|
Maze Builder Docs 8.10.23
|
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 (randomizer &rng, double delta_time) noexcept=0 |
| Update the state with the 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
|
nodiscardpure virtualnoexcept |
Update the state with the elapsed time.
| delta_time | The elapsed time since the last update |
Implemented in mazes::link_maze_and_create_state, mazes::loading_state, mazes::parsing_state, and mazes::write_to_output_state.