示例#1
0
 public virtual GameRound FinishRound(GameRound lastRound)
 {
     if (AreObjectivesComplete())
     {
         GameMessages.Emit(GameMessages.Kind.GameObjectivesComplete, this);
         return(null);
     }
     GameMessages.Emit(GameMessages.Kind.RoundEnd, lastRound);
     return(MakeRound(lastRound));
 }
示例#2
0
        protected GameRound MakeRound(GameRound lastRound)
        {
            var round = m_gameRoundFactory.Invoke(lastRound);

            if (round != null)
            {
                round.FirstPlayer += m_playerRoundList.GetFirst;
                round.NextPlayer  += m_playerRoundList.GetNext;
                Rounds.Add(round);
            }
            return(round);
        }
示例#3
0
 private static GameRound MakeGameRound(GameRound lr)
 {
     throw new NotImplementedException();
 }