示例#1
0
 public void BattleRun()
 {
     while (true)
     {
         actionIndex      = 0;
         chooseEnemyIndex = 0;
         MyDraw.DrawCounts(gameCounts);
         ExeStateAtCountStart();
         PlayerAction();
         EnemyAction();
         ExeStateAtCountEnd();
         StateCountDec();
         if (IsGameOver())
         {
             break;
         }
         gameCounts++;
         ClearUpState();
         MyDraw.DrawIntroText("按任意建进入下一回合");
         Console.ReadKey(true);
     }
 }