コード例 #1
0
ファイル: CustomRule.cs プロジェクト: Luke-Taylor/Mao
 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;
 }
コード例 #2
0
ファイル: PenaltyItem.cs プロジェクト: Luke-Taylor/Mao
 public PenaltyItem(string reason, Card penalty, RuleResponse.ResponseType response)
 {
     Reason   = reason;
     Penalty  = penalty;
     Response = response;
 }