v3.6.1 Documentation
Fungus.VariableBase< T > Class Template Reference

Generic concrete base class for variables. More...

Inheritance diagram for Fungus.VariableBase< T >:
Fungus.Variable

Public Member Functions

override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
 
override string ToString ()
 

Protected Member Functions

virtual void Start ()
 

Protected Attributes

value
 
startValue
 
- Protected Attributes inherited from Fungus.Variable
VariableScope scope
 
string key = ""
 

Properties

virtual T Value [get, set]
 
- Properties inherited from Fungus.Variable
virtual VariableScope Scope [get]
 Visibility scope for the variable. More...
 
virtual string Key [get, set]
 String identifier for the variable. More...
 

Detailed Description

Generic concrete base class for variables.

Definition at line 110 of file Variable.cs.

Member Function Documentation

◆ OnReset()

override void Fungus.VariableBase< T >.OnReset ( )
virtual

Callback to reset the variable if the Flowchart is reset.

Implements Fungus.Variable.

Definition at line 117 of file Variable.cs.

◆ Start()

virtual void Fungus.VariableBase< T >.Start ( )
protectedvirtual

Definition at line 127 of file Variable.cs.

◆ ToString()

override string Fungus.VariableBase< T >.ToString ( )

Definition at line 122 of file Variable.cs.

Member Data Documentation

◆ startValue

T Fungus.VariableBase< T >.startValue
protected

Definition at line 115 of file Variable.cs.

◆ value

T Fungus.VariableBase< T >.value
protected

Definition at line 112 of file Variable.cs.

Property Documentation

◆ Value

virtual T Fungus.VariableBase< T >.Value
getset

Definition at line 113 of file Variable.cs.


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