League honours: the running award race, the season awards and the Team of the Season, and every monthly winner of a league and season.
More...
#include <awards_scene.h>
|
| | AwardsScene (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.
|
| |
League honours: the running award race, the season awards and the Team of the Season, and every monthly winner of a league and season.
◆ AwardsScene()
| AwardsScene::AwardsScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID AwardsScene::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 AwardsScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderContent()
| void AwardsScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderMonths()
| void AwardsScene::renderMonths |
( |
| ) |
|
|
private |
◆ renderRace()
| void AwardsScene::renderRace |
( |
float |
width | ) |
|
|
private |
◆ renderSeason()
| void AwardsScene::renderSeason |
( |
float |
width | ) |
|
|
private |
◆ renderSelectors()
| void AwardsScene::renderSelectors |
( |
| ) |
|
|
private |
◆ renderTeamOfSeason()
| void AwardsScene::renderTeamOfSeason |
( |
float |
width | ) |
|
|
private |
◆ renderWinner()
| void AwardsScene::renderWinner |
( |
const Winner & |
winner, |
|
|
float |
width |
|
) |
| |
|
private |
◆ update()
| void AwardsScene::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 |
◆ current_season
| bool AwardsScene::current_season = true |
|
private |
◆ league_id
◆ months
| std::vector<MonthRow> AwardsScene::months |
|
private |
◆ race
| std::vector<RaceRow> AwardsScene::race |
|
private |
◆ season_winners
| std::vector<Winner> AwardsScene::season_winners |
|
private |
◆ season_year
| uint16_t AwardsScene::season_year = 0 |
|
private |
◆ seasons
| std::vector<uint16_t> AwardsScene::seasons |
|
private |
◆ team_of_season
| std::vector<Winner> AwardsScene::team_of_season |
|
private |
◆ young_race
| std::vector<RaceRow> AwardsScene::young_race |
|
private |
The documentation for this class was generated from the following files: