@Override
	public void update () {
		// Execute the global state (if any)
		if (globalState != null) globalState.update(owner);

		// Execute the current state (if any)
		if (currentState != null) currentState.update(owner);
	}
@ Override public void update ( ) { if ( globalState != null ) globalState . update ( owner ) ; if ( currentState != null ) currentState . update ( owner ) ; }
Updates the state machine by invoking first the {@code execute} method of the global state (if any) then the {@code execute}
method of the current state.