49 void render(std::shared_ptr<ConsoleUI::ConsoleWindow> window)
override;
71 std::function<void()> m_goBack;
72 bool m_staticDrawn =
false;
Defines a UI scene.
Definition: menu.h:629
Defines the UI manager.
Definition: menu.h:675
Class for a scene to show the program instructions.
Definition: howto_scene.h:27
void render(std::shared_ptr< ConsoleUI::ConsoleWindow > window) override
renders the scene on the console window
Definition: howto_scene.cpp:37
void update() override
function for continuous updates to the program state seperate from rendering and input handling
Definition: howto_scene.cpp:26
void init()
Initialise the scene.
Definition: howto_scene.cpp:21
void setStaticDrawn(bool staticDrawn) override
Sets the static drawn state of the scene.
Definition: howto_scene.cpp:31
HowToScene(ConsoleUI::UIManager &uiManager, std::function< void()> goBack)
Construct a new HowTo Scene object.
Definition: howto_scene.cpp:14
void handleInput() override
Handle the input for the scene.
Definition: howto_scene.cpp:97