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