@Deprecated public abstract class LegacyBaseGameActivity extends BaseGameActivity
BaseGameActivity.
Please consider actually switching to the new BaseGameActivity.
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.IGameInterface.OnCreateResourcesCallback, IGameInterface.OnCreateSceneCallback, IGameInterface.OnPopulateSceneCallbackmEngine, mRenderSurfaceView| Constructor and Description |
|---|
LegacyBaseGameActivity()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Engine |
onCreateEngine(EngineOptions pEngineOptions)
Deprecated.
|
EngineOptions |
onCreateEngineOptions()
Deprecated.
|
void |
onCreateResources(IGameInterface.OnCreateResourcesCallback pOnCreateResourcesCallback)
Deprecated.
|
void |
onCreateScene(IGameInterface.OnCreateSceneCallback pOnCreateSceneCallback)
Deprecated.
|
void |
onDestroyResources()
Deprecated.
|
void |
onGameCreated()
Deprecated.
|
protected abstract Scene |
onLoadComplete()
Deprecated.
|
protected abstract Engine |
onLoadEngine()
Deprecated.
|
protected abstract void |
onLoadResources()
Deprecated.
|
protected abstract Scene |
onLoadScene()
Deprecated.
|
void |
onPopulateScene(Scene pScene,
IGameInterface.OnPopulateSceneCallback pOnPopulateSceneCallback)
Deprecated.
|
protected abstract void |
onUnloadResources()
Deprecated.
|
createSurfaceViewLayoutParams, disableAccelerationSensor, disableLocationSensor, disableOrientationSensor, enableAccelerationSensor, enableAccelerationSensor, enableLocationSensor, enableOrientationSensor, enableOrientationSensor, enableVibrator, getEngine, getFontManager, getMusicManager, getShaderProgramManager, getSoundManager, getTextureManager, getVertexBufferObjectManager, isGameLoaded, isGamePaused, isGameRunning, onCreate, onCreateGame, onDestroy, onGameDestroyed, onPause, onPauseGame, onReloadResources, onResume, onResumeGame, onSetContentView, onSurfaceChanged, onSurfaceCreated, onWindowFocusChanged, runOnUpdateThread, runOnUpdateThreaddoAsync, doAsync, doAsync, doProgressAsync, doProgressAsync, toastOnUIThread, toastOnUIThreadprotected abstract Engine onLoadEngine()
protected abstract void onLoadResources()
protected abstract void onUnloadResources()
protected abstract Scene onLoadScene()
protected abstract Scene onLoadComplete()
public final EngineOptions onCreateEngineOptions()
public final Engine onCreateEngine(EngineOptions pEngineOptions)
onCreateEngine in interface IGameInterfaceonCreateEngine in class BaseGameActivitypublic final void onCreateResources(IGameInterface.OnCreateResourcesCallback pOnCreateResourcesCallback) throws java.lang.Exception
java.lang.Exceptionpublic final void onCreateScene(IGameInterface.OnCreateSceneCallback pOnCreateSceneCallback) throws java.lang.Exception
java.lang.Exceptionpublic final void onPopulateScene(Scene pScene, IGameInterface.OnPopulateSceneCallback pOnPopulateSceneCallback) throws java.lang.Exception
java.lang.Exceptionpublic final void onDestroyResources()
throws java.lang.Exception
onDestroyResources in interface IGameInterfaceonDestroyResources in class BaseGameActivityjava.lang.Exceptionpublic void onGameCreated()
onGameCreated in interface IGameInterfaceonGameCreated in class BaseGameActivity