19 enum class ID :
unsigned int
22 LINK_WITH_BINARY_TREE = 1,
24 LINK_WITH_SIDEWINDER = 3,
31 LINK_WITH_MASKED = 10,
36 : ctx(c), _runtime_stack(rs)
40 virtual ~state() =
default;
42 virtual void draw()
const noexcept = 0;
50 void request_stack_push(ID state_id)
const noexcept;
52 void request_stack_pop() const noexcept;
54 void request_stack_clear() const noexcept;
56 [[nodiscard]] const
runtime_app::context &get_context() const noexcept;
61 std::reference_wrapper<const
runtime_app::context> ctx;
struct representing the context passed to states in the runtime_app stack
Definition runtime_app.h:34