//public PlayerSprite testRemotePlayer = new PlayerSprite();

        public GameContentManager(string localPlayer, List<string> allPlayers, BomberGame game)
        {
            Game = game;
            isGameEnded = false;
            Sprites = new List<Sprite>();
            RemotePlayers = new List<PlayerSprite>();
            LocalPlayer = new PlayerSprite();
            LocalPlayer.GameContentManager = this;
            LocalPlayer.PlayerID = localPlayer;
            int localPlayerNumber = allPlayers.IndexOf(localPlayer);
            LocalPlayer.PlayerIndex = localPlayerNumber;
            LocalPlayer.Controller = new PlayerController();
            LocalPlayer.Controller.Player = LocalPlayer;
            Sprites.Add(LocalPlayer);
            foreach (string s in allPlayers)
            {
                if (s != localPlayer)
                {
                    PlayerSprite player = new PlayerSprite();
                    player.GameContentManager = this;
                    player.PlayerID = s;
                    int playerNumber = allPlayers.IndexOf(s);
                    player.PlayerIndex = playerNumber;
                    Sprites.Add(player);
                    RemotePlayers.Add(player);
                }
            }
        }
 public void EndGame(PlayerSprite winner)
 {
     this.winner = winner;
     isGameEnded = true;
 }