示例#1
0
 public ChoiceResult(OptionCollection options)
     : this(ChoiceType.Options)
 {
     _Options = new List <String>(options.Select(o => o.Text));
 }
示例#2
0
 public Choice(String text, OptionCollection options, Player playerSource, EventArgs eventArgs)
     : this(text, null, new CardCollection(), ChoiceType.Options, playerSource, eventArgs, false, false, options.IsAnyRequired ? 1 : 0, 1)
 {
     _Options = options;
 }
示例#3
0
 public Choice(String text, Card cardSource, CardCollection cardTriggers, List <String> options, Player playerSource, EventArgs eventArgs, Boolean isOrdered, int minimum, int maximum)
     : this(text, cardSource, cardTriggers, ChoiceType.Options, playerSource, eventArgs, isOrdered, false, minimum, maximum)
 {
     _Options = new OptionCollection(options);
 }
示例#4
0
 public Choice(String text, Card cardSource, OptionCollection options, Player playerSource)
     : this(text, cardSource, new CardCollection(), ChoiceType.Options, playerSource, null, false, false, options.IsAnyRequired ? 1 : 0, 1)
 {
     _Options = options;
 }