Beispiel #1
0
 public override void Process()
 {
     if (!choiceManager.IsBusy || madeChoice)
     {
         madeChoice = false;
         if (mainTextBox._isReading)
         {
             if (canSkip)
             {
                 InkOverlord.IO.Skipped();
                 mainTextBox.DisplayImmediate();
             }
         }
         else if (InkOverlord.IO.canContinue)
         {
             if (!ReadNextLine())
             {
                 Terminate();
             }
         }
         else if (InkOverlord.IO.hasChoices)
         {
             HideLineFinished();
             choiceManager.FeedChoices(InkOverlord.IO.GetChoices());
             choiceManager.DisplayChoices();
         }
         else
         {
             Terminate();
         }
     }
     else if (canSkip)
     {
         choiceManager.DisplayImmediate();
     }
 }
 protected virtual void HandleChoices()
 {
     choiceManager.FeedChoices(inkOverlord.GetChoices());
     choiceManager.DisplayChoices();
 }