|
DoopelPonger
|
State data used to configure the AutoStateMachine. More...

Public Member Functions | |
| AutoStateInformation (T state, CommonDelegates.AutoStateAction stateAction, T defaultNextState, bool alwaysTransitionTo, bool stateLock, params T[] validTransitions) | |
Public Attributes | |
| readonly T | state |
| readonly bool | alwaysTransitionTo |
| readonly bool | stateLock |
| readonly CommonDelegates.AutoStateAction | stateAction |
| readonly T | defaultNextState |
| readonly HashSet< T > | validTransitions |
State data used to configure the AutoStateMachine.
| T | : | System.IConvertible |
| AutoStateInformation< T >.AutoStateInformation | ( | T | state, |
| CommonDelegates.AutoStateAction | stateAction, | ||
| T | defaultNextState, | ||
| bool | alwaysTransitionTo, | ||
| bool | stateLock, | ||
| params T [] | validTransitions | ||
| ) |
| readonly bool AutoStateInformation< T >.alwaysTransitionTo |
True if any other state in the state machine can transition to this state.
| readonly T AutoStateInformation< T >.defaultNextState |
State to transition to when the state is finished.
| readonly T AutoStateInformation< T >.state |
State name of this object.
| readonly CommonDelegates.AutoStateAction AutoStateInformation< T >.stateAction |
Function to call when this state needs to do the action.
| readonly bool AutoStateInformation< T >.stateLock |
True if the only way out of this state is by one of the valid transitions.
| readonly HashSet<T> AutoStateInformation< T >.validTransitions |
All available states that this state can transition to.
1.8.14