Esempio n. 1
0
        // Init players
        private void InitializePlayers(string s)
        {
            // Parse in new players
            string[] playerParams = s.Split(',');
            Player newGuy = new Player(playerParams[0],
                int.Parse(playerParams[1]),
                int.Parse(playerParams[2]),
                int.Parse(playerParams[3]));

            GameData.players.Add(newGuy);
        }