Пример #1
0
 public AbsFsmState(FsmMachine machine, string name)
 {
     _name         = name;
     _entity       = machine.Entity;
     _machine      = machine;
     _lastState    = null;
     _nextState    = null;
     _triggerTrans = null;
     _toTransitionList.Clear();
 }
Пример #2
0
 public AbsFsmTransition(FsmMachine machine, string name)
 {
     _name              = name;
     _entity            = machine.Entity;
     _machine           = machine;
     _transState        = FsmTransitionStateEnum.Transing;
     _transitionHandler = null;
     _formState         = null;
     _toState           = null;
 }