|
Study Dungeon
1.0.0
A group project for COSC345
|
Defines a UI scene. More...
#include <menu.h>
Public Member Functions | |
| virtual | ~Scene ()=default |
| Destroy the Scene object. | |
| virtual void | update ()=0 |
| What to perfrom on scene update. | |
| virtual void | init ()=0 |
| Initialise the scene. | |
| virtual void | render (std::shared_ptr< ConsoleWindow > window)=0 |
| What to render in the console window. More... | |
| virtual void | handleInput ()=0 |
| Handle user input from the scene. | |
| virtual void | setStaticDrawn (bool staticDrawn)=0 |
| Sets the static drawn state of the scene. More... | |
Defines a UI scene.
|
pure virtual |
What to render in the console window.
| window |
Implemented in SettingsScene, MainMenuScene, HowToScene, GameScene, FlashcardApp::ResultsScene, FlashcardApp::FlashcardScene, FlashcardApp::BrowseDecksScene, FlashcardEdit::EditFlashcardScene, and FlashcardEdit::EditDeckScene.
|
pure virtual |
Sets the static drawn state of the scene.
| staticDrawn | Boolean indicating whether the static elements have been drawn. |
Implemented in SettingsScene, MainMenuScene, HowToScene, GameScene, FlashcardApp::ResultsScene, FlashcardApp::FlashcardScene, FlashcardApp::BrowseDecksScene, FlashcardEdit::EditFlashcardScene, and FlashcardEdit::EditDeckScene.