Interface IStateMachine
Namespace: Atlas
Assembly: Atlas.Runtime.dll
Syntax
public interface IStateMachine
Properties
|
Improve this Doc
View Source
CurrentState
Declaration
State CurrentState { get; }
Property Value
|
Improve this Doc
View Source
PreviousState
Declaration
State PreviousState { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddState<StateType>(StateType)
Declaration
void AddState<StateType>(StateType state)
where StateType : State
Parameters
Type |
Name |
Description |
StateType |
state |
|
Type Parameters
Name |
Description |
StateType |
|
|
Improve this Doc
View Source
GetState<StateType>()
Declaration
StateType GetState<StateType>()
where StateType : State
Returns
Type |
Description |
StateType |
|
Type Parameters
Name |
Description |
StateType |
|
|
Improve this Doc
View Source
RemoveState<StateType>()
Declaration
void RemoveState<StateType>()
where StateType : State
Type Parameters
Name |
Description |
StateType |
|
|
Improve this Doc
View Source
RevertToPrevState()
Declaration
|
Improve this Doc
View Source
SetState<StateType>()
Declaration
void SetState<StateType>()
where StateType : State
Type Parameters
Name |
Description |
StateType |
|