v3.9.1 Documentation
Fungus.IntegerVariable Class Reference

Integer variable type. More...

Inheritance diagram for Fungus.IntegerVariable:
Fungus.VariableBase< int >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, int integerValue)
 
override void Apply (SetOperator setOperator, int value)
 
- Public Member Functions inherited from Fungus.VariableBase< int >
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< int >
virtual void Start ()
 
- Protected Attributes inherited from Fungus.VariableBase< int >
value
 
startValue
 
- Properties inherited from Fungus.VariableBase< int >
virtual T Value [get, set]
 

Detailed Description

Integer variable type.

Definition at line 14 of file IntegerVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.IntegerVariable.Apply ( SetOperator  setOperator,
int  value 
)

Definition at line 67 of file IntegerVariable.cs.

◆ Evaluate()

virtual bool Fungus.IntegerVariable.Evaluate ( CompareOperator  compareOperator,
int  integerValue 
)
virtual

Definition at line 32 of file IntegerVariable.cs.

Member Data Documentation

◆ compareOperators

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

Definition at line 16 of file IntegerVariable.cs.

◆ setOperators

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

Definition at line 24 of file IntegerVariable.cs.


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