protected static void setLegacyApplication(LegacyApplication legacyApplication) {
            GameState.legacyApplication = legacyApplication;
        }
Replaces the current application state.

@param legacyApplication the new app instance holding the game state (including {@link AssetLoader}s, {@link AudioNode}s, {@link Spatial}s, etcetera).
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java