BGC Tools
Data Structures
BGC.StateMachine Namespace Reference

Data Structures

class  BoolCondition
 A bool condition checks for booleans, similar to the trigger condition, but will not consume the boolean once it has been used. Instead it keeps the value exactly as it was when a transition occurs. More...
 
class  CoordinatingState
 
class  EmptyState
 Simplest state possible - effectively featureless More...
 
interface  IStateDataBool
 
interface  IStateTrigger
 
interface  ITransitionDataRetriever
 
class  LambdaState
 Simple State with optional lambda arguments for OnStateEnter and OnStateExit. More...
 
class  OrConjunction
 An or conjunction is a set of transitions conditions where they are tested together with the logical or operator. If one transition condition returns true, then this entire conjunction will also return true. More...
 
class  State
 This class is implemented by states that are use din game. It comes with access to state machine related functions once it has been added to the machine. Users must implement OnEnter and OnExit. Users can override Update if they have a function they want to call on a frame by frame basis. More...
 
class  StateData
 Contains data for a state machine with descriptive functions to improve code clarity. More...
 
class  StateMachine
 Implements a state machine that can be constructed programatically that is similar to the Unity animation state machine but not frame capped. More...
 
class  Transition
 This defines a transition between two states with the required transition conditions for the transition to occur More...
 
class  TransitionCondition
 Defines a class that must be implemented which is for defining when transitions should occur. It also allows for work to be done when a transition cocurs More...
 
class  TriggerCondition
 A trigger condition, similar to the bool condition, will transition while a trigger is active. Once consumed, it will not transition. On a transition, it will consume the trigger it is associated with. More...
 
class  TriggeringLambdaState
 Simple State with optional lambda arguments for OnStateEnter and OnStateExit. The lambdas return strings which, if not null, are fired off as Triggers More...
 
class  TriggeringState
 
class  TriggeringUpdatingLambdaState
 Simple State with optional lambda arguments for OnStateEnter, OnStateExit, and Update. The lambdas return strings which, if not null, are fired off as Triggers More...
 
class  UpdatingLambdaState
 Simple State with optional lambda arguments for OnStateEnter, OnStateExit, and Update. More...