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