v3.11.4 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 >
- 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 

Definition at line 19 of file BooleanVariable.cs.

Member Data Documentation

◆ compareOperators

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

Definition at line 16 of file BooleanVariable.cs.

◆ setOperators

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

Definition at line 17 of file BooleanVariable.cs.

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