public void EndGame(Oponents oponents, Players winners) { if (oponents.TeamA != winners && oponents.TeamB != winners) { throw new CgcExceptionCannotEndGameWinnerWasNotOponentInChosenGame(); } this.GamesInSortedQueue.First(game => this.CurrentGameOponents() == game.Oponents).Winners = winners; this.AddPointsToWinners(winners, PointsForWinGame, 1); }
public void GameEnded(Oponents oponents, Player winner) { if (winner == null) { } }