public void createSplashScene(OnCreateSceneCallback pOnCreateSceneCallback) { ResourcesManager.getInstance().loadSplashScreen(); splashScene = new SplashScene(); currentScene = splashScene; pOnCreateSceneCallback.onCreateSceneFinished(splashScene); }
// ==================================================== // CREATE SCENE // ==================================================== @Override public void onCreateScene(OnCreateSceneCallback pOnCreateSceneCallback) { mScene = new Scene(); mScene.setBackground(new Background(0.9f, 0.9f, 0.9f)); pOnCreateSceneCallback.onCreateSceneFinished(mScene); }
public void returnSettingsScene(OnCreateSceneCallback pOnCreateSceneCallback) { settingsScene = new SettingsScene(); SceneManager.getInstance().setScene(settingsScene); pOnCreateSceneCallback.onCreateSceneFinished(settingsScene); }
public void createIntroScene(OnCreateSceneCallback pOnCreateSceneCallback) { introScene = new IntroScene(); SceneManager.getInstance().setScene(introScene); pOnCreateSceneCallback.onCreateSceneFinished(introScene); }