Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
X
Y
Z
S
saveData(String)
- Method in class android.gameengine.icadroids.persistence.
GamePersistence
Saves the data to the earlier specified file.
scale
- Static variable in class android.gameengine.icadroids.input.
TouchInput
gets the scaling factor that applies on zoom and pinch actions
select
- Static variable in class android.gameengine.icadroids.input.
OnScreenButtons
holds the values of wether or not the button has been pressed.
sendToast(String, int)
- Method in class android.gameengine.icadroids.forms.
GameForm
Toast are little grey boxes with text in it that appear a few seconds on the screen.
setAnimationSpeed(int)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set the speed of the sprite animation.
setAnimationSpeed(int)
- Method in class android.gameengine.icadroids.objects.graphics.
AnimatedSprite
Set the speed of the animation
setBackground(String, boolean)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Sets the background image of the current view.
setBackground(String)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Sets the background image of the current view.
setBackgroundColor(int)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set the background color.
setBackgroundFit(boolean)
- Method in class android.gameengine.icadroids.engine.
GameView
setBackgroundImage(String)
- Method in class android.gameengine.icadroids.engine.
GameView
Sets the background image that will be used in the game.
setDepth(float)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set the depth of the object in rendering.
setDirection(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the direction of this object in degrees Direction 0 points up, directions go clockwise, so 90 is right, etc.
setDirectionRadians(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the current direction of this object in radians Direction 0 points up, directions go clockwise, so 0.5*pi is right, etc.
setDirectionSpeed(double, double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets both the direction and the speed of this object.
setFrameNumber(int)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set the frame number of the sprite.
setFrameNumber(int)
- Method in class android.gameengine.icadroids.objects.graphics.
AnimatedSprite
Set the frame number of the animation
setFriction(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the friction of this object, that is the amount of speed reduction.
setMapDimensions(int, int)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set the dimensions of the game world.
setPlayer(MoveableGameObject)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Name a GameObject in the role of the Player object.
setPlayerPositionOnScreen(int, int)
- Method in class android.gameengine.icadroids.engine.
GameEngine
When using a viewport, set the position of the player on the screen.
setPlayerPositionTolerance(double, double)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set the tolerance of the positioning of the player.
setPosition(double, double)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set the position on the screen.
setResourceName(String)
- Method in class android.gameengine.icadroids.dashboard.
DashboardImageView
Set the resource (image) name.
setScreenLandscape(boolean)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set landscape mode or normal mode on android device
setSpeed(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the speed of this object
setSprite(String)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set a sprite for the GameObject.
setSprite(String, int)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set a sprite for the GameObject.
setSprite(AnimatedSprite)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set a sprite for the GameObject.
setSprite(Bitmap)
- Method in class android.gameengine.icadroids.objects.graphics.
Sprite
Load a bitmap into a sprite Note: bitmaps are already loaded images, when you want to load a resource that hasn't been loaded yet, use 'loadSprite()'
setStartPosition(int, int)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set a (new) start position which the objects jumps to when using 'jumpToStartPosition()'.
setTextString(String)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the text to be displayed in this widget.
setTileMap(GameTiles)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set a GameTiles object as the current GameTile map.
setTileType(int)
- Method in class android.gameengine.icadroids.tiles.
Tile
Change the tile type
Important!
setTileTypes(Vector<Sprite>)
- Method in class android.gameengine.icadroids.tiles.
GameTiles
setTime(int)
- Method in class android.gameengine.icadroids.alarms.
Alarm
Change the time of the alarm.
setVisibility(boolean)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set the visibility of the GameOject.
setWidgetBackgroundColor(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the background color for the widget.
setWidgetHeight(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardImageView
Set the height of the widget (in pixels).
setWidgetHeight(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the height of the widget (in pixels).
setWidgetWidth(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardImageView
Set the width of the widget (in pixels).
setWidgetWidth(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the width of the widget (in pixels).
setWidgetX(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardImageView
Set the x position of the widget (in pixels).
setWidgetX(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the x position of the widget (in pixels).
setWidgetY(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardImageView
Set the y position of the widget (in pixels).
setWidgetY(int)
- Method in class android.gameengine.icadroids.dashboard.
DashboardTextView
Set the y position of the widget (in pixels).
setX(double)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set x position of the GameObject WARNING: Do NOT use this method to move the player or a lot of methods will behave incorrectly.
setxSpeed(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the x speed of this object.
setY(double)
- Method in class android.gameengine.icadroids.objects.
GameObject
Set y position of the GameObject.
setySpeed(double)
- Method in class android.gameengine.icadroids.objects.
MoveableGameObject
Sets the y speed of this object.
setZoomFactor(float)
- Method in class android.gameengine.icadroids.engine.
GameEngine
Set the zoom factor for the viewport.
showKeyboard()
- Method in class android.gameengine.icadroids.engine.
GameEngine
Shows the onscreen keyboard.
showView(String, IFormInput)
- Method in class android.gameengine.icadroids.forms.
GameForm
Add a new view (layout) on the top of the current view.
Sprite
- Class in
android.gameengine.icadroids.objects.graphics
Sprite holds and handles correct loading of images (bitmaps), and includes some useful methods for getting information about the image.
Sprite()
- Constructor for class android.gameengine.icadroids.objects.graphics.
Sprite
Make a Sprite without loading any bitmap in it
Sprite(String)
- Constructor for class android.gameengine.icadroids.objects.graphics.
Sprite
Load a sprite with the given resource Sprites must be stored in the res/drawable folders of your Android project.
spriteBitmap
- Variable in class android.gameengine.icadroids.objects.graphics.
Sprite
The bitmap that the sprite uses
spriteHeight
- Variable in class android.gameengine.icadroids.objects.graphics.
Sprite
The height in pixels of the sprite
spriteWidth
- Variable in class android.gameengine.icadroids.objects.graphics.
Sprite
The width in pixels of the sprite
start
- Static variable in class android.gameengine.icadroids.input.
OnScreenButtons
holds the values of wether or not the button has been pressed.
startAlarm()
- Method in class android.gameengine.icadroids.alarms.
Alarm
Restart an alarm
without
resetting the clock.
startAnimate()
- Method in class android.gameengine.icadroids.objects.
GameObject
Start animating the sprite, from the current frame
startAnimate()
- Method in class android.gameengine.icadroids.objects.graphics.
AnimatedSprite
Start animating the sprite
startDraw()
- Method in class android.gameengine.icadroids.engine.
GameThread
Start drawing on the canvas
stop()
- Static method in class android.gameengine.icadroids.sound.
MusicPlayer
Stop playing music.
stopAnimate()
- Method in class android.gameengine.icadroids.objects.
GameObject
Stop animating the sprite.
stopAnimate()
- Method in class android.gameengine.icadroids.objects.graphics.
AnimatedSprite
Stop animating the sprite
stopRunning()
- Method in class android.gameengine.icadroids.engine.
GameThread
Stop the gameloop
stopSound(int)
- Static method in class android.gameengine.icadroids.sound.
GameSound
Stops a sound
stopSounds()
- Static method in class android.gameengine.icadroids.sound.
GameSound
Stops all sounds.
surfaceChanged(SurfaceHolder, int, int, int)
- Method in class android.gameengine.icadroids.engine.
GameView
This method is called immediately after any structural changes (format or size) have been made to the surface.
surfaceCreated(SurfaceHolder)
- Method in class android.gameengine.icadroids.engine.
GameView
This method is called immediately after the surface is first created and it starts a new thread.
surfaceDestroyed(SurfaceHolder)
- Method in class android.gameengine.icadroids.engine.
GameView
This method is called immediately before a surface is being destroyed, it Ensures that the thread stops when the gameloop is stopped.
surfaceLoaded
- Static variable in class android.gameengine.icadroids.engine.
GameView
Surfaceloaded will be true when the surface has been loaded
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
X
Y
Z