|
Maze Builder Docs 8.2.1
|
State for parsing arguments. More...
#include <parsing_state.h>
Public Member Functions | |
| parsing_state (const runtime_app::context &ctx, runtime_stack *rs) | |
| std::optional< args > | convert (std::string_view arguments) const noexcept override |
| Converts a string of arguments into an args object. | |
| void | draw () const noexcept override |
| bool | update (const std::optional< args > &args, double delta_time) noexcept override |
| Updates the state of the parsing process. | |
Public Member Functions inherited from mazes::convert_contract | |
Public Member Functions inherited from mazes::state | |
| state (const runtime_app::context &c, runtime_stack *rs) | |
Additional Inherited Members | |
Public Types inherited from mazes::state | |
| enum class | ID : unsigned int { BTING = 0 , DFSING = 1 , EMPTY = 2 , LOADING = 3 , PARSING = 4 , PIXELIZING = 5 , SIDEWINDERING = 6 , STRINGIFYING = 7 , WAVEFRONT_OBJECTIFYING = 8 , TOTAL = 9 } |
Protected Member Functions inherited from mazes::state | |
| 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 |
State for parsing arguments.
|
nodiscardoverridevirtualnoexcept |
Converts a string of arguments into an args object.
| arguments | The string of arguments to convert |
Implements mazes::convert_contract.
|
overridevirtualnoexcept |
Implements mazes::state.
|
nodiscardoverridevirtualnoexcept |
Updates the state of the parsing process.
| args | Optional arguments for the update |
| delta_time | Time elapsed since the last update |
Implements mazes::state.