Beispiel #1
0
 public bool ToNextSection()
 {
     if (IsEnd)
     {
         return(false);
     }
     else
     {
         currentSectionIndex++;
         if (CurrentSection.IsSufficientPlotTriggerConditions())
         {
             if (IsEnd)
             {
                 ExecuteEvents();
             }
             return(true);
         }
         else
         {
             currentSectionIndex--;
             return(false);
         }
     }
 }