v3.9.1 Documentation
Fungus.BooleanVariable Class Reference

Boolean variable type. More...

Inheritance diagram for Fungus.BooleanVariable:
Fungus.VariableBase< bool >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, bool booleanValue)
 
override void Apply (SetOperator setOperator, bool value)
 
- Public Member Functions inherited from Fungus.VariableBase< bool >
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 = { CompareOperator.Equals, CompareOperator.NotEquals }
 
static readonly SetOperator [] setOperators = { SetOperator.Assign, SetOperator.Negate }
 

Additional Inherited Members

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

Detailed Description

Boolean variable type.

Definition at line 14 of file BooleanVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.BooleanVariable.Apply ( SetOperator  setOperator,
bool  value 
)

Definition at line 42 of file BooleanVariable.cs.

◆ Evaluate()

virtual bool Fungus.BooleanVariable.Evaluate ( CompareOperator  compareOperator,
bool  booleanValue 
)
virtual

Definition at line 19 of file BooleanVariable.cs.

Member Data Documentation

◆ compareOperators

readonly CompareOperator [] Fungus.BooleanVariable.compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }
static

Definition at line 16 of file BooleanVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.BooleanVariable.setOperators = { SetOperator.Assign, SetOperator.Negate }
static

Definition at line 17 of file BooleanVariable.cs.


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