| PushdownAutomatonTChangeStateAutoTState Method |
Replaces the active state with another state, without notifying the underlying state.
If the state is not registered, it will automatically be and its empty constructor will be used to create the instances.
Namespace:
Archon.SwissArmyLib.Automata
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public TState ChangeStateAuto<TState>()
where TState : new(), Object, IPdaState<T>
Request Example
View SourceType Parameters
- TState
- The type of the state to change to.
Return Value
Type:
TStateThe state instance that was changed to.
See Also