Search Results for

    Show / Hide Table of Contents

    Class FloatProduct

    Value is the product of all effectors

    Inheritance
    object
    CombinedValue<float>
    FloatProduct
    Inherited Members
    CombinedValue<float>.stats
    CombinedValue<float>.baseValue
    CombinedValue<float>.OnValueChanged
    CombinedValue<float>.Value
    CombinedValue<float>.ClearEffectors()
    CombinedValue<float>.MakeEffector()
    CombinedValue<float>.EffectorCount
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LobsterFramework
    Assembly: LobsterFramework.dll
    Syntax
    public class FloatProduct : CombinedValue<float>

    Constructors

    | Improve this Doc View Source

    FloatProduct(float, bool)

    Declaration
    public FloatProduct(float value, bool nonNegative = false)
    Parameters
    Type Name Description
    float value
    bool nonNegative

    Methods

    | Improve this Doc View Source

    Compatible(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
    CombinedValue<float>.Compatible(float)
    | Improve this Doc View Source

    ComputeValue()

    Compute the value taking all effectors into account

    Declaration
    protected override float ComputeValue()
    Returns
    Type Description
    float
    Overrides
    CombinedValue<float>.ComputeValue()
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation