Class FloatProduct
Value is the product of all effectors
Inherited Members
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public class FloatProduct : CombinedValue<float>
Constructors
| Improve this Doc View SourceFloatProduct(float, bool)
Declaration
public FloatProduct(float value, bool nonNegative = false)
Parameters
Type | Name | Description |
---|---|---|
float | value | |
bool | nonNegative |
Methods
| Improve this Doc View SourceCompatible(float)
Determines if the effector can be added
Declaration
public override bool Compatible(float obj)
Parameters
Type | Name | Description |
---|---|---|
float | obj | The value of the effector to be examined |
Returns
Type | Description |
---|---|
bool | true if can be added, otherwise false |
Overrides
| Improve this Doc View SourceComputeValue()
Compute the value taking all effectors into account
Declaration
protected override float ComputeValue()
Returns
Type | Description |
---|---|
float |