Example #1
0
 public CustomRule(string incorrectMessage, RuleResponse.ResponseType correct,
                   RuleResponse.ResponseType incorrect, MatchType match, Card target = null)
 {
     _incorrectResponseMessage = incorrectMessage;
     _correctResponse          = correct;
     _incorrectResponse        = incorrect;
     _match  = match;
     _target = target;
 }
Example #2
0
 public PenaltyItem(string reason, Card penalty, RuleResponse.ResponseType response)
 {
     Reason   = reason;
     Penalty  = penalty;
     Response = response;
 }