Пример #1
0
 public StateMachineState(T stateId, IStateMachineStateAction <T> stateAction)
 {
     StateId     = stateId;
     StateAction = stateAction;
 }
Пример #2
0
 public void RegisterState(T stateId, IStateMachineStateAction <T> stateAction)
 {
     states.Add(stateId, new StateMachineState <T>(stateId, stateAction));
 }