Esempio n. 1
0
 internal Choice Continue(Decision decision, Duel duel)
 {
     CurrentStep.Proceed(decision, duel);
     if (duel.AwaitingChoice == null)
     {
         return(ChangeAndStartStep(duel));
     }
     else
     {
         return(duel.AwaitingChoice);
     }
 }
Esempio n. 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);
     }
 }