public PlayerViewModel(Player player, IGame game) { if (player == null) { throw new NullReferenceException("player"); } this.player = player; iGame = game; }
public void RemovePlayer(Player p) { players.Remove(p); }