v3.9.1 Documentation
Fungus.FloatVariable Class Reference

Float variable type. More...

Inheritance diagram for Fungus.FloatVariable:
Fungus.VariableBase< float >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, float floatValue)
 
override void Apply (SetOperator setOperator, float value)
 
- Public Member Functions inherited from Fungus.VariableBase< float >
override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
 
override string ToString ()
 
virtual void Apply (SetOperator setOperator, T value)
 

Static Public Attributes

static readonly CompareOperator [] compareOperators
 
static readonly SetOperator [] setOperators
 

Additional Inherited Members

- Protected Member Functions inherited from Fungus.VariableBase< float >
virtual void Start ()
 
- Protected Attributes inherited from Fungus.VariableBase< float >
value
 
startValue
 
- Properties inherited from Fungus.VariableBase< float >
virtual T Value [get, set]
 

Detailed Description

Float variable type.

Definition at line 14 of file FloatVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.FloatVariable.Apply ( SetOperator  setOperator,
float  value 
)

Definition at line 67 of file FloatVariable.cs.

◆ Evaluate()

virtual bool Fungus.FloatVariable.Evaluate ( CompareOperator  compareOperator,
float  floatValue 
)
virtual

Definition at line 32 of file FloatVariable.cs.

Member Data Documentation

◆ compareOperators

readonly CompareOperator [] Fungus.FloatVariable.compareOperators
static
Initial value:
= {
CompareOperator.NotEquals,
CompareOperator.LessThan,
CompareOperator.GreaterThan,
CompareOperator.LessThanOrEquals,
CompareOperator.GreaterThanOrEquals
}

Definition at line 16 of file FloatVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.FloatVariable.setOperators
static
Initial value:
= {
SetOperator.Assign,
SetOperator.Subtract,
SetOperator.Multiply,
SetOperator.Divide
}

Definition at line 24 of file FloatVariable.cs.


The documentation for this class was generated from the following file: