|
Study Dungeon
1.0.0
A group project for COSC345
|
Scene for the card duel game. More...
#include <game_scene.h>
Public Member Functions | |
| GameScene (ConsoleUI::UIManager &uiManager, std::function< void()> goBack) | |
| Construct a new Game Scene object. More... | |
| void | update () override |
| update the scene | |
| void | init () override |
| initialise the scene | |
| void | render (std::shared_ptr< ConsoleUI::ConsoleWindow > window) override |
| render the scene More... | |
| void | handleInput () override |
| handle the input for the scene | |
| void | setStaticDrawn (bool staticDrawn) override |
| Sets the static drawn state of the scene. More... | |
Public Member Functions inherited from ConsoleUI::Scene | |
| virtual | ~Scene ()=default |
| Destroy the Scene object. | |
Scene for the card duel game.
| GameScene::GameScene | ( | ConsoleUI::UIManager & | uiManager, |
| std::function< void()> | goBack | ||
| ) |
Construct a new Game Scene object.
| uiManager | the UI Manager |
| goBack | the back button for the previous scene |
|
overridevirtual |
|
overridevirtual |
Sets the static drawn state of the scene.
| staticDrawn | Boolean indicating whether the static elements have been drawn. |
Implements ConsoleUI::Scene.