Example #1
0
 /// <summary>
 /// Constructs the effect.
 /// </summary>
 /// <param name="assignOperator">Assignment operator.</param>
 /// <param name="function">Numeric function.</param>
 /// <param name="value">Numeric value to be assigned.</param>
 public NumericAssignEffect(AssignOperator assignOperator, NumericFunction function, NumericExpression value)
 {
     AssignOperator = assignOperator;
     Function       = function;
     Value          = value;
 }
Example #2
0
 /// <summary>
 /// Constructs the durative effect.
 /// </summary>
 /// <param name="assignOperator">Assign operator specifier.</param>
 /// <param name="function">Numeric function for assignment.</param>
 /// <param name="value">Timed numeric expression to be assigned.</param>
 public AssignTimedEffect(TimedEffectAssignOperator assignOperator, NumericFunction function, TimedNumericExpression value)
 {
     AssignOperator = assignOperator;
     Function       = function;
     Value          = value;
 }