- onAnyFling(float, float, float, float) - Method in class com.thekeirs.games.engine.GameLevel
-
Override this routine if you want your central game logic to handle ALL screen fling actions.
- onAnyTouch(float, float) - Method in class com.thekeirs.games.engine.GameLevel
-
Override this routine if you want your central game logic to handle ALL screen touches.
- onceEvery(float) - Static method in class com.thekeirs.games.engine.Rand
-
Randomly returns true approximately once every seconds
seconds.
- onFling(float, float, float, float) - Method in class com.thekeirs.games.engine.GameObject
-
Called when the user makes a fling motion on the screen, starting at a location inside this
game object's bounding box.
- onFling(float, float, float, float) - Method in class com.thekeirs.games.engine.Sprite
-
Called when the user makes a fling motion on the screen, starting at a location inside this
sprite's bounding box.
- onMotionEvent(GameView.UIEvent) - Method in class com.thekeirs.games.engine.GameObjectManager
-
Called by the game engine thread as events arrive.
- onMotionEvent(GameView.UIEvent) - Method in interface com.thekeirs.games.engine.GameView.IGameLogicService
-
- onPause() - Static method in class com.thekeirs.games.engine.Audio
-
Called by the game engine to pause sound playing.
- onPause() - Method in class com.thekeirs.games.engine.GameView
-
- onResume(Context) - Static method in class com.thekeirs.games.engine.Audio
-
Called by the game engine to resume sound playing after a pause.
- onResume() - Method in class com.thekeirs.games.engine.GameView
-
- onTouch(float, float) - Method in class com.thekeirs.games.engine.GameObject
-
Called when the user taps the screen at a location inside this game object's bounding box.
- onTouch(float, float) - Method in class com.thekeirs.games.engine.Sprite
-
Called when the user taps the screen at a location inside this sprite's bounding box.
- onUnclaimedFling(float, float, float, float) - Method in class com.thekeirs.games.engine.GameLevel
-
Override this routine if you want your central game logic to handle screen fling actions that
don't start on a game object.
- onUnclaimedScroll(float, float, float, float, boolean) - Method in class com.thekeirs.games.engine.GameLevel
-
Override this routine if you want to detect "scroll" events on the screen.
- onUnclaimedTouch(float, float) - Method in class com.thekeirs.games.engine.GameLevel
-
Override this routine if you want your central game logic to handle screen touches that
don't hit any game objects.
- Scene - Class in com.thekeirs.games.engine
-
An abstract scene (background for a level) class
- Scene() - Constructor for class com.thekeirs.games.engine.Scene
-
- setEventScalingFactors(float, float) - Method in class com.thekeirs.games.engine.GameViewThread
-
Set factors to normalize user input event coordinates into range 0.0-1.0
- setGameLogicService(GameView.IGameLogicService) - Method in class com.thekeirs.games.engine.GameView
-
- setImage(int) - Method in class com.thekeirs.games.engine.BackgroundImageScene
-
Change the image associated with this scene.
- setLevel(GameLevel) - Method in class com.thekeirs.games.engine.GameObjectManager
-
Requests the game engine to move to a different game level after the
current update/draw cycle is complete.
- setManager(GameObjectManager) - Method in class com.thekeirs.games.engine.GameObject
-
Called by the
GameObjectManager
to be sure this game object knows who its
manager is.
- setMaxTimeOnScreen(int) - Method in class com.thekeirs.games.engine.GameObject
-
Configure this game object to self-destruct after a given number of milliseconds on the
screen.
- setObjectManager(GameObjectManager) - Method in class com.thekeirs.games.engine.GameLevel
-
Called by the object manager to configure this level.
- setRedrawService(GameView.IRedrawService) - Method in class com.thekeirs.games.engine.GameView
-
- setScene(Scene) - Method in class com.thekeirs.games.engine.GameObjectManager
-
Set the scene to be used as a background starting on the next draw() cycle.
- setup() - Method in class com.thekeirs.games.engine.GameLevel
-
Your setup method is where all your work for setting up a new level should go.
- setWorldScreenSize(float, float) - Method in class com.thekeirs.games.engine.GameObjectManager
-
Sets the width and height of the game world in arbitrary units.
- SolidColorScene - Class in com.thekeirs.games.engine
-
Gives your level a background scene that is all one solid color
- SolidColorScene(String) - Constructor for class com.thekeirs.games.engine.SolidColorScene
-
Creates a new SolidColorScene object with the specified color.
- Sprite - Class in com.thekeirs.games.engine
-
Represents a
GameObject
that has an image associated with it, and a
location on the screen to draw that image (left x, upper y, width, height).
- Sprite(String, float, float, float, float) - Constructor for class com.thekeirs.games.engine.Sprite
-
Returns a Sprite game object with the given name and location/size on the screen.
- Sprite(String, float, float, float, float, int) - Constructor for class com.thekeirs.games.engine.Sprite
-
Returns a Sprite game object with the given name and location/size on the screen and
the given image.
- surfaceChanged(SurfaceHolder, int, int, int) - Method in class com.thekeirs.games.engine.GameView
-
- surfaceCreated(SurfaceHolder) - Method in class com.thekeirs.games.engine.GameView
-
- surfaceDestroyed(SurfaceHolder) - Method in class com.thekeirs.games.engine.GameView
-