Training ground: the weekly microcycle, preset and intensity, the coming seven days, the assistant's advice and every player's focus, workload and development trend.
More...
#include <training_scene.h>
|
| | TrainingScene (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.
|
| |
Training ground: the weekly microcycle, preset and intensity, the coming seven days, the assistant's advice and every player's focus, workload and development trend.
◆ TrainingScene()
| TrainingScene::TrainingScene |
( |
GUIView * |
parent | ) |
|
|
explicit |
◆ getID()
| SceneID TrainingScene::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 TrainingScene::refresh |
( |
| ) |
|
|
overrideprotectedvirtual |
Rebuilds cached view models from the game state.
Reimplemented from ManagementScene.
◆ renderAdvice()
| void TrainingScene::renderAdvice |
( |
float |
width | ) |
const |
|
private |
◆ renderContent()
| void TrainingScene::renderContent |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ renderControls()
| void TrainingScene::renderControls |
( |
| ) |
|
|
private |
◆ renderMicrocycle()
| void TrainingScene::renderMicrocycle |
( |
float |
width | ) |
|
|
private |
◆ renderPlayers()
| void TrainingScene::renderPlayers |
( |
| ) |
|
|
private |
◆ renderSlot()
| void TrainingScene::renderSlot |
( |
int |
day, |
|
|
bool |
compact |
|
) |
| |
|
private |
◆ renderWeek()
| void TrainingScene::renderWeek |
( |
| ) |
const |
|
private |
◆ sortRows()
| void TrainingScene::sortRows |
( |
| ) |
|
|
private |
◆ update()
| void TrainingScene::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 |
◆ advice
◆ at_risk
| int TrainingScene::at_risk = 0 |
|
private |
◆ average_condition
| float TrainingScene::average_condition = 0.0f |
|
private |
◆ effectiveness
| float TrainingScene::effectiveness = 0.0f |
|
private |
◆ familiarity
| float TrainingScene::familiarity = 0.0f |
|
private |
◆ has_plan
| bool TrainingScene::has_plan = false |
|
private |
◆ plan
◆ rows
◆ sort_ascending
| bool TrainingScene::sort_ascending = true |
|
private |
◆ sort_column
| int TrainingScene::sort_column = 0 |
|
private |
◆ week
| std::vector<DayCell> TrainingScene::week |
|
private |
The documentation for this class was generated from the following files: