game-ai/src/main/java/com/jzy/game/ai/fsm/StackStateMachine.java
/**
	 * Changes the Change state back to the previous state. That is the high-most
	 * state on the internal stack of previous states.
	 * 
	 * @return {@code True} in case there was a previous state that we were able to
	 *         revert to. In case there is no previous state, no state change occurs
	 *         and {@code false} will be returned.
	 */
Changes the Change state back to the previous state. That is the high-most
state on the internal stack of previous states.

@return  True in case there was a previous state that we were able to
revert to. In case there is no previous state, no state change occurs
and  false will be returned.
Changes the Change state back to the previous state . That is the high - most state on the internal stack of previous states . @return True in case there was a previous state that we were able to revert to . In case there is no previous state no state change occurs and false will be returned .
@Override
	public boolean revertToPreviousState() {
		if (stateStack.size() == 0) {
			return false;
		}
		S previousState = stateStack.remove(stateStack.size() - 1);
		changeState(previousState, false);
		return true;
	}
@ Override public boolean revertToPreviousState ( ) { if ( stateStack . size ( ) == 0 ) { return false ; } S previousState = stateStack . remove ( stateStack . size ( ) - 1 ) ; changeState ( previousState , false ) ; return true ; }
Changes the Change state back to the previous state.
Changes the Change state back to the previous state .