core/src/de/lksbhm/gdx/Router.java
/**
	 * Changes the current controller and sets the specified view
	 * 
	 * @param screen
	 * @param state
	 */
Changes the current controller and sets the specified view

@param screen
@param state
Changes the current controller and sets the specified view @param screen @param state
public <T extends TransitionableResettableConsumerScreen> void changeScreen(
			Class<T> screen, final Object state) {
		obtainScreen(screen, new ResourceConsumerObtainedCallback<T>() {
			@Override
			public void onObtained(T s) {
				if (state != null) {
					s.setState(state);
				}
				changeScreen(s);
			}
		});
	}
public < T extends TransitionableResettableConsumerScreen > void changeScreen ( Class < T > screen , final Object state ) { obtainScreen ( screen , new ResourceConsumerObtainedCallback < T > ( ) { @ Override public void onObtained ( T s ) { if ( state != null ) { s . setState ( state ) ; } changeScreen ( s ) ; } } ) ; }
Changes the current controller and sets the specified view
Changes the current controller and sets the specified view