National-team call-ups of the head coach: the announced squad of the coming window (editable until the players report), the players the nation may call up with ability, form, condition and caps in the assistant's order, and the nation's next matches.
More...
#include <callup_scene.h>
|
| | CallUpScene (GUIView *parent) |
| |
| void | update (float deltaTime) 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.
|
| |
National-team call-ups of the head coach: the announced squad of the coming window (editable until the players report), the players the nation may call up with ability, form, condition and caps in the assistant's order, and the nation's next matches.
◆ CallUpScene()
| CallUpScene::CallUpScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ confirm()
| void CallUpScene::confirm |
( |
| ) |
|
|
private |
◆ getID()
| SceneID CallUpScene::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 |
◆ rebuildLists()
| void CallUpScene::rebuildLists |
( |
| ) |
|
|
private |
◆ refresh()
| void CallUpScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderCandidates()
| void CallUpScene::renderCandidates |
( |
float |
width | ) |
|
|
private |
◆ renderContent()
| void CallUpScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderDetail()
| void CallUpScene::renderDetail |
( |
const Row & |
row, |
|
|
bool |
squad |
|
) |
| |
|
private |
◆ renderFixtures()
| void CallUpScene::renderFixtures |
( |
float |
width | ) |
const |
|
private |
◆ renderSquad()
| void CallUpScene::renderSquad |
( |
float |
width | ) |
|
|
private |
◆ renderTable()
| void CallUpScene::renderTable |
( |
const char * |
id, |
|
|
const std::vector< const Row * > & |
rows, |
|
|
bool |
squad |
|
) |
| |
|
private |
◆ renderTiles()
| void CallUpScene::renderTiles |
( |
| ) |
const |
|
private |
◆ update()
| void CallUpScene::update |
( |
float |
deltaTime | ) |
|
|
overridevirtual |
Updates scene logic.
- Parameters
-
| deltaTime | The time elapsed since the last update. |
Implements GUIScene.
◆ GameFlowTest_GUIFlowLifecycle_Test
| friend class GameFlowTest_GUIFlowLifecycle_Test |
|
friend |
◆ cached_date
◆ candidate_rows
| std::vector<const Row*> CallUpScene::candidate_rows |
|
private |
◆ confirm_requested
| bool CallUpScene::confirm_requested = false |
|
private |
◆ dirty
| bool CallUpScene::dirty = false |
|
private |
◆ filter
| int CallUpScene::filter = 0 |
|
private |
0 all, then position groups.
◆ fixtures
◆ keepers
| size_t CallUpScene::keepers = 0 |
|
private |
◆ keepers_value
| std::string CallUpScene::keepers_value |
|
private |
◆ lists_stale
| bool CallUpScene::lists_stale = false |
|
private |
◆ rows
| std::vector<Row> CallUpScene::rows |
|
private |
◆ selected
◆ squad_rows
| std::vector<const Row*> CallUpScene::squad_rows |
|
private |
◆ squad_title
| std::string CallUpScene::squad_title |
|
private |
◆ squad_value
| std::string CallUpScene::squad_value |
|
private |
◆ status_note
| std::string CallUpScene::status_note |
|
private |
◆ status_value
| std::string CallUpScene::status_value |
|
private |
◆ subtitle
| std::string CallUpScene::subtitle |
|
private |
◆ view
◆ working
| std::vector<PlayerID> CallUpScene::working |
|
private |
The squad being edited (player ids), saved by confirm().
The documentation for this class was generated from the following files: