Represents a class that implements one state of the state machine. More...
Public Member Functions | |
CurrentState | GoNext (IStateContext context) |
Represents a class that implements one state of the state machine.
The context calls each state through this interface.
Technically, the StateContext_Class knows about the actual state classes because it has to instantiate them but this interface makes the code for calling the state classes much simpler.
Definition at line 97 of file State_Class.cs.
CurrentState GoNext | ( | IStateContext | context | ) |