|
Player12
An open source football management simulator
|
Home card: first-week checklist (while visible) and the top next steps with their reasons and a button to act on each. More...
#include <onboarding_overlay.h>
Classes | |
| struct | Row |
Public Member Functions | |
| void | refresh (const GameController &controller) |
| void | render (GUIView *view, float width) |
Static Public Attributes | |
| static constexpr std::size_t | MAX_ROWS = 3 |
Private Attributes | |
| std::vector< Row > | rows |
| OnboardingState | checklist |
| bool | refreshed = false |
Home card: first-week checklist (while visible) and the top next steps with their reasons and a button to act on each.
| void NextStepsCard::refresh | ( | const GameController & | controller | ) |
Rebuilds the rows from the game state (call from refresh()).
| void NextStepsCard::render | ( | GUIView * | view, |
| float | width | ||
| ) |
Draws the card across width (auto height, never scrolls).
|
private |
|
staticconstexpr |
Actions shown on Home.
|
private |
|
private |