protected override void execute()
 {
     StateValentin SV = currentState.Step();
     if (SV != null)
     {
         currentState = SV;
     }
 }
 public TransitionValentin(MyDelegate del, StateValentin nextState)
 {
     myDelegate += del;
     state = nextState;
 }
 public StateMachineValentin(StateValentin current)
 {
     currentState = current;
 }