Records book: club records with the club's all-time scorers and appearance makers, league records, the all-time league table and the club's hall of fame.
More...
#include <records_scene.h>
|
| | RecordsScene (GUIView *parent) |
| |
| void | update (float) override |
| | Updates scene logic.
|
| |
| SceneID | getID () const override |
| | Gets the ID of the scene.
|
| |
| void | showTab (Tab tab) |
| | Shows a tab (e.g. from another screen).
|
| |
| | 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.
|
| |
Records book: club records with the club's all-time scorers and appearance makers, league records, the all-time league table and the club's hall of fame.
◆ Tab
Tabs of the records book.
| Enumerator |
|---|
| CLUB | |
| LEAGUE | |
| ALL_TIME | |
| HALL_OF_FAME | |
◆ RecordsScene()
| RecordsScene::RecordsScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID RecordsScene::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 RecordsScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderAllTime()
| void RecordsScene::renderAllTime |
( |
| ) |
|
|
private |
◆ renderClubSelector()
| void RecordsScene::renderClubSelector |
( |
| ) |
|
|
private |
◆ renderContent()
| void RecordsScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderHallOfFame()
| void RecordsScene::renderHallOfFame |
( |
| ) |
|
|
private |
◆ renderLeagueSelector()
| void RecordsScene::renderLeagueSelector |
( |
| ) |
|
|
private |
◆ renderPlayers()
| void RecordsScene::renderPlayers |
( |
const char * |
id, |
|
|
const char * |
title, |
|
|
const std::vector< PlayerLine > & |
lines, |
|
|
float |
width |
|
) |
| |
|
private |
◆ renderRecords()
| void RecordsScene::renderRecords |
( |
const char * |
id, |
|
|
const char * |
title, |
|
|
const std::vector< RecordLine > & |
lines, |
|
|
float |
width |
|
) |
| |
|
private |
◆ showTab()
| void RecordsScene::showTab |
( |
Tab |
tab | ) |
|
|
inline |
Shows a tab (e.g. from another screen).
◆ update()
| void RecordsScene::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 |
◆ active_tab
◆ all_time
| std::vector<TableLine> RecordsScene::all_time |
|
private |
◆ appearances
◆ club_id
| TeamID RecordsScene::club_id = 0 |
|
private |
◆ club_records
| std::vector<RecordLine> RecordsScene::club_records |
|
private |
◆ league_id
◆ league_records
| std::vector<RecordLine> RecordsScene::league_records |
|
private |
◆ legends
◆ scorers
The documentation for this class was generated from the following files: