Example #1
0
 public Player(PlayerSetup playerSetup)
 {
     Name = playerSetup.Name;
     LoadAI(playerSetup.AIFileName);
     Colour = playerSetup.Colour;
     Units = new List<Unit>();
 }
Example #2
0
 public void LoadPlayer(PlayerSetup setup, int id)
 {
     Player player = new Player(setup);
     Data.PlayerDict.Add(id, player);
 }