public IfNotActionNode(ConditionNode condition, ActionNode action) { Condition = () => !condition.Condition(); Action = action.Action; }
public IfElseActionNode(ConditionNode condition, ActionNode ifAction, ActionNode elseAction) { Condition = condition.Condition; IfAction = ifAction.Action; ElseAction = elseAction.Action; }
public IfActionNode(ConditionNode condition, ActionNode action) : base(action.Action) { Condition = condition.Condition; }