Data hub: the managed club's season in numbers. Team tab: xG trend, finishing and goalkeeping against the chances, league comparison with ranks, shot map, set pieces and player leaderboards; Players tab: per-90 table with rating trends, pass involvement, expected assists, progressive passes and pressures. Every figure states its definition and sample size.
More...
#include <data_hub_scene.h>
|
| | DataHubScene (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.
|
| |
Data hub: the managed club's season in numbers. Team tab: xG trend, finishing and goalkeeping against the chances, league comparison with ranks, shot map, set pieces and player leaderboards; Players tab: per-90 table with rating trends, pass involvement, expected assists, progressive passes and pressures. Every figure states its definition and sample size.
◆ DataHubScene()
| DataHubScene::DataHubScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID DataHubScene::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 DataHubScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderComparison()
| void DataHubScene::renderComparison |
( |
float |
width | ) |
|
|
private |
◆ renderContent()
| void DataHubScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderLeaders()
| void DataHubScene::renderLeaders |
( |
float |
width | ) |
|
|
private |
◆ renderPerformance()
| void DataHubScene::renderPerformance |
( |
float |
width | ) |
|
|
private |
◆ renderPlayers()
| void DataHubScene::renderPlayers |
( |
| ) |
|
|
private |
◆ renderSetPieces()
| void DataHubScene::renderSetPieces |
( |
float |
width | ) |
|
|
private |
◆ renderShotMap()
| void DataHubScene::renderShotMap |
( |
float |
width | ) |
|
|
private |
◆ renderTeam()
| void DataHubScene::renderTeam |
( |
| ) |
|
|
private |
◆ renderTrendChart()
| void DataHubScene::renderTrendChart |
( |
float |
width | ) |
|
|
private |
◆ update()
| void DataHubScene::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 |
◆ hub
◆ leaders
◆ leaders_note
| std::string DataHubScene::leaders_note |
|
private |
◆ opponent_names
| std::vector<std::string> DataHubScene::opponent_names |
|
private |
◆ performance_tooltips
| std::vector<std::string> DataHubScene::performance_tooltips |
|
private |
◆ performance_top
| float DataHubScene::performance_top = 0.5f |
|
private |
◆ players
◆ shot_side
| int DataHubScene::shot_side = 0 |
|
private |
0 = shots for, 1 = shots against.
◆ tab
| int DataHubScene::tab = 0 |
|
private |
The documentation for this class was generated from the following files: