Exemplo n.º 1
0
 public void StartNextRound(SPlayer[] players)
 {
     if (IsFinished())
     {
         return;
     }
     if (_CurrentRound > -1)
     {
         _Points.SetPoints(
             _CurrentRound,
             _SongQueue[_CurrentRound].SongID,
             players,
             _SongQueue[_CurrentRound].GameMode);
     }
     _CurrentRound++;
     _CurrentSong = IsFinished() ? null : CGameModes.Get(GetCurrentGameMode()).GetSong(_SongQueue[_CurrentRound].SongID);
 }
Exemplo n.º 2
0
 public void Init()
 {
     _SongQueue = new List <SSongQueueEntry>();
     Reset();
     CGameModes.Init();
 }