Loading...
Searching...
No Matches
CityBuilderCore.StateManager Class Reference
Inheritance diagram for CityBuilderCore.StateManager:

Classes

class  StateEntry
 
class  StateOverride
 
class  TransitionEntry
 

Public Member Functions

void StartState (string state)
 
void StartOverride (string state)
 
void StartOverride (string state, int priority)
 
void SetState (string state)
 
void SetOverride (string state)
 
void SetOverride (string state, int priority)
 
void ResetOverride ()
 
void ResetOverride (int priority)
 
StateEntry GetStateEntry (string key)
 
TransitionEntry GetTransitionEntry (string from, string to)
 
void Toggle ()
 

Static Public Member Functions

static StateManager GetManager (string key)
 

Public Attributes

StateEntry[] States
 
TransitionEntry[] Transitions
 
string State
 
StateOverride[] Overrides
 
UnityEvent< string > StateChanged
 

Static Public Attributes

static StateManager Main
 
static Dictionary< string, StateManagerManagers = new Dictionary<string, StateManager>()
 

Properties

bool IsInitializing [get]
 
StateEntry CurrentState [get]