BGC Tools
|
Contains data for a state machine with descriptive functions to improve code clarity. More...
Public Member Functions | |
void | Initialize () |
initialize data with original booleans More... | |
void | Clear () |
void | AddBoolean (TBoolEnum key, bool initialValue) |
void | SetBoolean (TBoolEnum key, bool value) |
bool | GetBoolean (TBoolEnum key) |
void | ActivateTrigger (TTriggerEnum key) |
void | DeActivateTrigger (TTriggerEnum key) |
bool | GetTrigger (TTriggerEnum key) |
Private Attributes | |
readonly Dictionary< TBoolEnum, bool > | initialBooleans = new Dictionary<TBoolEnum, bool>() |
readonly Dictionary< TBoolEnum, bool > | booleans = new Dictionary<TBoolEnum, bool>() |
readonly HashSet< TTriggerEnum > | triggers = new HashSet<TTriggerEnum>() |
Contains data for a state machine with descriptive functions to improve code clarity.
TBoolEnum | : | Enum | |
TTriggerEnum | : | Enum |
Definition at line 9 of file StateData.cs.
|
inline |
Definition at line 51 of file StateData.cs.
|
inline |
Definition at line 36 of file StateData.cs.
|
inline |
Definition at line 30 of file StateData.cs.
|
inline |
Definition at line 56 of file StateData.cs.
|
inline |
Definition at line 46 of file StateData.cs.
|
inline |
Definition at line 61 of file StateData.cs.
|
inline |
initialize data with original booleans
Definition at line 20 of file StateData.cs.
|
inline |
Definition at line 41 of file StateData.cs.
|
private |
Definition at line 14 of file StateData.cs.
|
private |
Definition at line 13 of file StateData.cs.
|
private |
Definition at line 15 of file StateData.cs.