示例#1
0
 private void PowerAI()
 {
     while (enemyship.EnoughPowercheck() == false)
     {
         enemyship.Changeshields(-1);
         enemyship.Changespeed(-1);
         enemyship.ChangeweaponPower(-1);
     }
     while (enemyship.TomuchPowercheck() == false)
     {
         enemyship.Changeshields(+1);
         enemyship.Changespeed(+1);
         enemyship.ChangeweaponPower(+1);
     }
 }