Exemplo n.º 1
0
 public PlayerManager(RiskMap map)
 {
     this.map = map;
     players = new Player[PlayerNum];
     for (int i = 0; i < PlayerNum; i++)
     {
         players[i] = new Player(i + 1);
     }
 }
 public void Update(Player player, bool isActive)
 {
     IsActive = isActive;
     armyTextBlock.Text = player.ArmyNum.ToString();
     countryTextBlock.Text = player.CountryNum.ToString();
 }