Ejemplo n.º 1
0
 public StateTransition(SimpleState from, SimpleState to)
 {
     _fromState         = from;
     _toState           = to;
     _onTransitionStart = new WriteAction();
     _onTransitionEnd   = new WriteAction();
     OnTransitionStart  = _onTransitionStart;
     OnTransitionEnd    = _onTransitionEnd;
 }
Ejemplo n.º 2
0
 public SimpleState()
 {
     OnStateEnter = _onStateEnter;
     OnStateExit  = _onStateExit;
 }