public override float GetMaxValue() { if (operation == Operation.Add || operation == Operation.Subtract) { return(Generator1.GetMaxValue() + Generator2.GetMaxValue()); } return(Math.Max(Generator1.GetMaxValue(), Generator2.GetMaxValue())); }
public override float GetMaxValue() { return(Math.Max(Generator1.GetMaxValue(), Generator2.GetMaxValue())); }