use of com.gushikustudios.rube.loader.RubeSceneAsyncLoader in project RubeLoader by tescott.
the class RubeLoaderTest method initiateSceneLoad.
/**
* Kicks off asset manager if selected...
*
*/
private void initiateSceneLoad() {
if (mUseAssetManager) {
// kick off asset manager operations...
mAssetManager = new AssetManager();
mAssetManager.setLoader(RubeScene.class, new RubeSceneAsyncLoader(new InternalFileHandleResolver()));
// kick things off..
mAssetManager.load(RUBE_SCENE_FILE_LIST[mRubeFileList][mRubeFileIndex], RubeScene.class);
}
mNextState = GAME_STATE.LOADING;
}
Aggregations