public void ExitStates() { if (currentSubState != null) { currentSubState.ExitStates(); } ExitState(); }