예제 #1
0
 internal Choice Continue(Decision decision, Duel duel)
 {
     CurrentStep.Proceed(decision, duel);
     if (duel.AwaitingChoice == null)
     {
         return(ChangeAndStartStep(duel));
     }
     else
     {
         return(duel.AwaitingChoice);
     }
 }
예제 #2
0
 private Choice StartCurrentStep(Duel duel)
 {
     CurrentStep.Proceed(null, duel);
     if (duel.AwaitingChoice != null)
     {
         return(duel.AwaitingChoice);
     }
     else if (duel.Players.Count > 1)
     {
         return(ChangeAndStartStep(duel));
     }
     else
     {
         return(null);
     }
 }