public ScoreBoard GetScoreBoard(Game game) // OrderType : Team, KDR, Rating, ... { ScoreBoard scoreBoard = new ScoreBoard(); foreach (Player player in game.Players) { if (player.Frags.Count == 0) //TODO change to IsSpectator { continue; } scoreBoard.AddLine(GetScoreBoardLine(game, player)); } return(scoreBoard); }