public void distribuiExercitoFullRandom(int quantidade, IA iA)
 {
     Random random = new Random();
     int randomNumber;
     for (int i = 0; i < quantidade; i++)
     {
         randomNumber = random.Next(0, iA.getTerritorios().Count() - 1);
         iA.getTerritorios()[randomNumber].setNumeroExercitos(1 + iA.getTerritorios()[randomNumber].getNumeroExercito());
         iA.removeExercitoParacolocar();
     }
 }
 public void remanejaFullRandom(IA iA)
 {
     int randomNumber;
     Random random = new Random();
     foreach(Territorio origem in iA.getTerritorios())
     {
         foreach(Territorio destino in iA.getTerritorios())
         {
             randomNumber = random.Next(0, origem.getNumeroExercitoRemanejavel());
             if (MaquinaDeRegras.validaMovimentoRemanejamento(origem, destino, randomNumber))
             {
                 origem.setNumeroExercitos(origem.getNumeroExercito() - randomNumber);
                 destino.setNumeroExercitos(destino.getNumeroExercito() + randomNumber);
                 origem.setNumeroExercitosRemanejavel(origem.getNumeroExercitoRemanejavel() - randomNumber);
             }
         }
     }
 }
 public void distribuiExercitoTerritoriosBordaRandom(int quantidade, IA iA)
 {
     Random random = new Random();
     int randomNumber;
     List<Territorio> territoriosComBorda = iA.getTerritoriosBorda();
     for (int i = 0; i < quantidade; i++)
     {
         randomNumber = random.Next(0, iA.getTerritorios().Count() - 1);
         territoriosComBorda[randomNumber].setNumeroExercitos(1 + territoriosComBorda[randomNumber].getNumeroExercito());
         iA.removeExercitoParacolocar();
     }
 }