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