예제 #1
0
 public void BattleStart()
 {
     while (true)
     {
         actionIndex = 0;
         targetEnemy = 0;
         MyDraw.DrawCounts(counts);
         ExeCountStartState();
         HerosAction();
         EnemyAction();
         ExeCountEndState();
         StateCountDec();
         if (IsOver())
         {
             break;
         }
         counts++;
         ClearUpState();
         MyDraw.DrawIntroText("按任意键进入下一回合");
         Console.ReadKey(true);
     }
 }