public int CountAllQueuedCoins() { lock (StateLock) { return(WaitingList.Count + Rounds.Sum(x => x.CoinsRegistered.Count())); } }
/// <summary> /// Get total penalties of the game (all rounds combined) /// </summary> /// <returns></returns> private int GetTotalPenalty() { return(Rounds.Sum(x => x.RoundPenalties.GetTotalPenalties())); }