public abstract class SimpleBaseGameActivity extends BaseGameActivity
IGameInterface get called automatically.
(c) Zynga 2011IGameInterface.OnCreateResourcesCallback, IGameInterface.OnCreateSceneCallback, IGameInterface.OnPopulateSceneCallbackmEngine, mRenderSurfaceView| Constructor and Description |
|---|
SimpleBaseGameActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
onCreateResources() |
void |
onCreateResources(IGameInterface.OnCreateResourcesCallback pOnCreateResourcesCallback) |
protected abstract Scene |
onCreateScene() |
void |
onCreateScene(IGameInterface.OnCreateSceneCallback pOnCreateSceneCallback) |
void |
onPopulateScene(Scene pScene,
IGameInterface.OnPopulateSceneCallback pOnPopulateSceneCallback) |
createSurfaceViewLayoutParams, disableAccelerationSensor, disableLocationSensor, disableOrientationSensor, enableAccelerationSensor, enableAccelerationSensor, enableLocationSensor, enableOrientationSensor, enableOrientationSensor, enableVibrator, getEngine, getFontManager, getMusicManager, getShaderProgramManager, getSoundManager, getTextureManager, getVertexBufferObjectManager, isGameLoaded, isGamePaused, isGameRunning, onCreate, onCreateEngine, onCreateGame, onDestroy, onDestroyResources, onGameCreated, onGameDestroyed, onPause, onPauseGame, onReloadResources, onResume, onResumeGame, onSetContentView, onSurfaceChanged, onSurfaceCreated, onWindowFocusChanged, runOnUpdateThread, runOnUpdateThreaddoAsync, doAsync, doAsync, doProgressAsync, doProgressAsync, toastOnUIThread, toastOnUIThreadclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreateEngineOptionsprotected abstract void onCreateResources()
protected abstract Scene onCreateScene()
public 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.Exception