|
Player12
An open source football management simulator
|
Captain, vice-captain and set-piece takers of the managed lineup: one dropdown per duty listing the starters (best suited first), with an automatic choice that names who would take it. More...
#include <set_pieces_dialog.h>
Classes | |
| struct | Choice |
Public Member Functions | |
| void | open () |
| Opens the dialog on the next render(). | |
| void | close () |
| Closes the dialog on the next render(). | |
| bool | render (GameController &controller) |
| Draws the dialog while it is open. | |
Static Public Member Functions | |
| static std::string | captainSummary (const GameController &controller) |
| One-line summary for the lineup toolbar ("Captain: Name"). | |
Private Member Functions | |
| void | rebuild (const GameController &controller) |
Private Attributes | |
| bool | open_requested = false |
| bool | close_requested = false |
| std::array< std::vector< Choice >, SET_PIECE_DUTY_COUNT > | choices |
| std::array< std::string, SET_PIECE_DUTY_COUNT > | automatic |
| std::array< std::string, SET_PIECE_DUTY_COUNT > | current |
Friends | |
| class | GameFlowTest_GUIFlowLifecycle_Test |
Captain, vice-captain and set-piece takers of the managed lineup: one dropdown per duty listing the starters (best suited first), with an automatic choice that names who would take it.
|
static |
One-line summary for the lineup toolbar ("Captain: Name").
|
inline |
Closes the dialog on the next render().
|
inline |
Opens the dialog on the next render().
|
private |
| bool SetPiecesDialog::render | ( | GameController & | controller | ) |
Draws the dialog while it is open.
|
friend |
|
private |
Previews.
|
private |
|
private |
|
private |
Previews.
|
private |