예제 #1
0
 public IfNotActionNode(ConditionNode condition, ActionNode action)
 {
     Condition = () => !condition.Condition();
     Action    = action.Action;
 }
예제 #2
0
 public IfElseActionNode(ConditionNode condition, ActionNode ifAction, ActionNode elseAction)
 {
     Condition  = condition.Condition;
     IfAction   = ifAction.Action;
     ElseAction = elseAction.Action;
 }
예제 #3
0
 public IfActionNode(ConditionNode condition, ActionNode action)
     : base(action.Action)
 {
     Condition = condition.Condition;
 }