24 #include "../../engine/Display/PickList.h" 25 #include "../../engine/Display/Res.h" 26 #include "../../engine/Model/TrackList.h" 59 std::shared_ptr<const Rulebook> rulebook);
63 void OnTrackSelected(std::shared_ptr<Model::TrackEntry> entry);
64 void OnTrackChanged();
68 void OnPhaseTransition(
double progress)
override;
71 using okSignal_t = boost::signals2::signal<void(std::shared_ptr<Rules>, std::shared_ptr<Display::Res<Display::Texture>>)>;
94 std::shared_ptr<Display::Res<Display::Texture>>
mapTexture;
std::shared_ptr< Rules > rules
Definition: TrackSelectScene.h:79
Interface for game client shells.
Definition: GameDirector.h:57
std::shared_ptr< Model::TrackEntry > selectedTrack
Definition: TrackSelectScene.h:82
std::shared_ptr< Display::Picture > trackPic
Definition: TrackSelectScene.h:93
std::shared_ptr< Display::Res< Display::Texture > > mapTexture
Definition: TrackSelectScene.h:94
GameDirector & director
Definition: TestLabScene.cpp:160
cancelSignal_t cancelSignal
Definition: TrackSelectScene.h:103
cancelSignal_t & GetCancelSignal()
Definition: TrackSelectScene.h:75
boost::signals2::signal< void(std::shared_ptr< Rules >, std::shared_ptr< Display::Res< Display::Texture >>)> okSignal_t
Definition: TrackSelectScene.h:71
boost::signals2::signal< void()> cancelSignal_t
Definition: TrackSelectScene.h:74
okSignal_t & GetOkSignal()
Definition: TrackSelectScene.h:72
Base class for scenes with a title and status area.
Definition: DialogScene.h:46
Base class for display managers.
Definition: Display.h:73
std::shared_ptr< Display::Button > readyBtn
Definition: TrackSelectScene.h:100
std::shared_ptr< Display::Container > trackPanel
Definition: TrackSelectScene.h:88
std::shared_ptr< Display::PickList< std::shared_ptr< Model::TrackEntry > > > trackPick
Definition: TrackSelectScene.h:90
okSignal_t okSignal
Definition: TrackSelectScene.h:102
Sorted list of track headers.
Definition: TrackList.h:49
std::shared_ptr< Display::Label > rulebookLbl
Definition: TrackSelectScene.h:85
std::shared_ptr< Display::FlexGrid > trackMetaGrid
Definition: TrackSelectScene.h:96
std::shared_ptr< Display::Label > rulebookDescLbl
Definition: TrackSelectScene.h:86
std::shared_ptr< Display::Label > trackNameLbl
Definition: TrackSelectScene.h:97
Select the track for a new game.
Definition: TrackSelectScene.h:53
Definition: Announcement.h:24
Scrollable list of selectable items.
Definition: PickList.h:191
Model::TrackList trackList
Definition: TrackSelectScene.h:81
std::shared_ptr< Display::Label > trackDescLbl
Definition: TrackSelectScene.h:98
std::shared_ptr< Display::RuleLine > subtitleRule
Definition: TrackSelectScene.h:87
std::shared_ptr< Display::FlexGrid > subtitleGrid
Definition: TrackSelectScene.h:84
std::shared_ptr< Display::Container > selTrackPanel
Definition: TrackSelectScene.h:92
bool trackSelected
Are we exiting because a track was selected?
Definition: TrackSelectScene.h:78