33 int nFreestyleInstrument);
183 std::vector<Player *> mPlayers;
184 std::vector<Track *> mTracks;
186 int mFreestyleInstrument;
Track the player plays freely with the analog sticks rather than by hitting gems.
Definition freestyletrack.h:19
void MovePlayer(int nPlayer, int nTrack)
Move a player to a track.
void RefreshTrack(int nTrack)
Show the players on a track.
void SetPlayerTrack(int nPlayer, int nTrack, bool bVictory)
Move a player to a track or off every track, and give each track its first player.
void EnterFreestyle(int nPlayer, bool bVictory)
Move a player to the freestyle track.
void SwapPlayer(int nPlayer, int nTrack, int nSlot)
Swap a player with the player in a slot of a track.
GameTrackSelector(const std::vector< Track * > &tracks, FreestyleTrack *pFreestyleTrack, int nFreestyleType, int nFreestyleInstrument)
Construct the assignment over the tracks of a song, with no players.
bool IsFreestyleTrack(int nTrack) const
Report whether a track is the freestyle track.
void Resync()
Give every player its track and every track its first player after a swap.
int GetNumPlayers() const
Report the number of players.
void RotateNext(int nPlayer)
Move a player to the next track, unless that is the last track.
void RotatePrevious(int nPlayer)
Move a player to the previous track, unless the player is on the first one.
int GetPlayerSlot(int nPlayer) const
Report the slot of a player on its track.
int GetPlayerTrack(int nPlayer) const
Report the track of a player.
void AddPlayer(Player *pPlayer, int nTrack)
Add a player on a track.
int GetNumTracks() const
Report the number of tracks, the freestyle track included.
void RemovePlayer(int nPlayer)
Remove a player from every track and hide its displays.
One participant in a song: the track the participant plays, the score, and the streak.
Definition player.h:19
Assignment of the players to the tracks and to the slots of each track, in the order the players arri...
Definition trackselector.h:11