One place to decide who handles which recurring duty: the manager or the assistant, with three presets (hands-on, balanced, assistant runs the daily operations).
More...
#include <delegation_scene.h>
|
| | DelegationScene (GUIView *parent) |
| |
| void | update (float) override |
| | Updates scene logic.
|
| |
| SceneID | getID () const override |
| | Gets the ID of the scene.
|
| |
| | ManagementScene (GUIView *guiViewPtr) |
| |
| void | render () final |
| | Renders the scene.
|
| |
| void | onEnter () override |
| | Called when the scene is entered/becomes active.
|
| |
| void | onResume () override |
| | Called when an overlay above this scene closes and it becomes the active scene again. Screens use it to refresh cached view models after a match, a transfer or any other state change made elsewhere.
|
| |
| void | handleEvent (const SDL_Event &event) override |
| |
| std::optional< NavEntry > | historyEntry () const override |
| |
| | GUIScene (GUIView *guiView_ptr) |
| | Constructs a new GUIScene.
|
| |
| virtual | ~GUIScene ()=default |
| | Destroys the GUIScene.
|
| |
| virtual void | onExit () |
| | Called when the scene is exited/becomes inactive.
|
| |
| virtual void | onResize (int width, int height) |
| | Called when the window is resized.
|
| |
One place to decide who handles which recurring duty: the manager or the assistant, with three presets (hands-on, balanced, assistant runs the daily operations).
◆ DelegationScene()
| DelegationScene::DelegationScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID DelegationScene::getID |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the ID of the scene.
- Returns
- The SceneID of this scene.
GUIView uses this identifier to apply match-specific event and scene behavior.
Implements GUIScene.
◆ navSection()
|
|
inlineoverrideprotectedvirtual |
◆ refresh()
| void DelegationScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderContent()
| void DelegationScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderDuty()
| void DelegationScene::renderDuty |
( |
Duty |
duty, |
|
|
float |
width |
|
) |
| |
|
private |
◆ update()
| void DelegationScene::update |
( |
float |
deltaTime | ) |
|
|
inlineoverridevirtual |
Updates scene logic.
- Parameters
-
| deltaTime | The time elapsed since the last update. |
Implements GUIScene.
◆ GameFlowTest_GUIFlowLifecycle_Test
| friend class GameFlowTest_GUIFlowLifecycle_Test |
|
friend |
◆ delegate_line
| std::string DelegationScene::delegate_line |
|
private |
◆ policy
The documentation for this class was generated from the following files: