|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GameObject | |
---|---|
android.gameengine.icadroids.engine | |
android.gameengine.icadroids.objects |
Uses of GameObject in android.gameengine.icadroids.engine |
---|
Fields in android.gameengine.icadroids.engine with type parameters of type GameObject | |
---|---|
static java.util.Vector<GameObject> |
GameEngine.items
A vectorlist that holds all the active GameObjects. |
static java.util.Vector<GameObject> |
GameEngine.newItems
A vectorlist that holds all the newly created GameObjects during this cycle of the game loop. |
Methods in android.gameengine.icadroids.engine that return GameObject | |
---|---|
GameObject |
GameEngine.getGameObjectAtTouchPosition(int touchSize)
Get the first (rendered) object that is touched. |
Methods in android.gameengine.icadroids.engine that return types with arguments of type GameObject | ||
---|---|---|
java.util.Vector<GameObject> |
GameEngine.findItemAt(Rect rectangle)
This function finds gameObjects inside a given rectangle. |
|
|
GameEngine.getItemsOfType(java.lang.Class<T> type)
Get all instances of the specified type that are currently in the game |
Methods in android.gameengine.icadroids.engine with parameters of type GameObject | |
---|---|
void |
GameEngine.addGameObject(GameObject gameObject)
Add a GameObject to the game. |
void |
GameEngine.addGameObject(GameObject gameObject,
float layerposition)
Add a GameObject to the game. |
void |
GameEngine.addGameObject(GameObject gameObject,
int x,
int y)
Add a GameObject to the game. |
void |
GameEngine.addGameObject(GameObject gameObject,
int x,
int y,
float layerposition)
Add a GameObject to the game. |
void |
GameEngine.deleteGameObject(GameObject gameObject)
Delete a GameObject from the game. |
boolean |
Viewport.isInViewport(GameObject item)
Check if the given gameitem lies within the viewport |
Method parameters in android.gameengine.icadroids.engine with type arguments of type GameObject | |
---|---|
void |
GameEngine.addListOfObject(java.util.Collection<GameObject> objectList)
Add a collection of GameObjects. |
Uses of GameObject in android.gameengine.icadroids.objects |
---|
Subclasses of GameObject in android.gameengine.icadroids.objects | |
---|---|
class |
MoveableGameObject
MoveableGameObject represents a moveable object in the game. |
Methods in android.gameengine.icadroids.objects that return types with arguments of type GameObject | |
---|---|
java.util.ArrayList<GameObject> |
MoveableGameObject.getCollidedObjects()
Checks wether or not this gameObject has collided with one or multiple GameObjects or MovableGameObjects. |
Methods in android.gameengine.icadroids.objects with parameters of type GameObject | |
---|---|
double |
GameObject.getAngle(GameObject object)
Use this function to get the angle between you and another object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |