public ConditionContainer(Condition c1, LogicalOperator ope, Condition c2, TimeState timeState = null) { condition1 = c1; relationship = ope; condition2 = c2; holdingTimer = timeState; isSatisfied = false; }
public Condition(Condition _c1, LogicalOperator _ope, Condition _c2, TimeState _elapsedState = null) { condition1 = _c1; condition2 = _c2; interRelationship = _ope; hasMultipleConditions = true; holdingTimer = _elapsedState; }
public static LogicalOperator Inverse(LogicalOperator ope) { return(Code2Operator((ope.GetCode() + 1) % 2)); }