public void execution()
 {
     currentState = currentState.execution();
 }
 public void addListToExecuteState(IState p_StateToAdd)
 {
     listToExecuteState.Add(p_StateToAdd);
 }
 public Transition(check myDelegate, IState state)
 {
     _delegate += myDelegate;
     _state = state;
 }