Index

A B C D E F G H I L M O P R S T U W Z 
All Classes and Interfaces|All Packages|Constant Field Values

G

GameLoop - Class in base
Main class starting any game, contains main().
GameLoop() - Constructor for class base.GameLoop
constructor which calls GameLoop.defineLevels(), which adds all levels of this game.
GameObject - Class in gameobjects
The class GameObject represents a (possibly animated) object appearing in a level of the game.
GameObject(String, Playground, double, double, double, double) - Constructor for class gameobjects.GameObject
Constructor to initialize a GameObject, respectively set the current Playground instance this GameObject belongs to.
GameObject(String, Playground, ObjectController, double, double, double, double) - Constructor for class gameobjects.GameObject
Constructor to initialize a GameObject, respectively set the current Playground instance this GameObject belongs to.
gameobjects - package gameobjects
The package gameobjects contains all objects with a visual representation on screen.
gameOver() - Method in class playground.BreakoutLevelBase
signals to game engine that the game has finished by game over. called every game loop. default implementation is always false.
gameOver() - Method in class playground.Playground
 
gameOver() - Method in class playground.SpaceInvadersLevel
 
GameUI - Class in ui
creates the game UI JFrame containing a canvas (see class GamePanel)) for the levels to paint the games.
GameUI(int, int) - Constructor for class ui.GameUI
as typical for GUI classes this constructor creates all the components and adds them to the frame.
generateColliders() - Method in class gameobjects.AnimatedGameobject
 
generateColliders() - Method in class gameobjects.EgoObject
 
generateColliders() - Method in class gameobjects.GameObject
generates and sets collider(s) for this GameObject.
generateColliders() - Method in class gameobjects.RectObject
generates a new RectCollider with id-prefix "shotcollider_" and registers it for 'this' [@link RectObject}.
generateColliders() - Method in class gameobjects.TextObject
 
getCurrentKey() - Method in class ui.GameUI
 
getFileList() - Method in class playground.Animation
 
getGameTime() - Method in class gameobjects.GameObject
 
getGameTime() - Method in class playground.Playground
returns time in seconds since level start
getGameTime() - Method in class rendering.Artist
 
getGlobalFlag(String) - Static method in class playground.Playground
Retrieves a level-wide flag by name.
getH() - Method in class rendering.AnimationArtist
 
getHeight() - Method in class gameobjects.RectObject
Getter for the height
getId() - Method in class collider.Collider
returns the internal unique name
getId() - Method in class gameobjects.GameObject
return the unique object ID.
getImageList() - Method in class playground.Animation
 
getKeyEvents() - Method in class playground.Playground
 
getKeyEvents() - Method in class ui.GameUI
 
getLevelFlag(String) - Method in class playground.Playground
 
getMouseEvents() - Method in class playground.Playground
 
getMouseEvents() - Method in class ui.GameUI
 
getNewAction() - Static method in class ui.GameUI
 
getObject(String) - Method in class playground.Playground
Retrieves a graphics object by name.
getObjectController() - Method in class gameobjects.GameObject
Access to object controller.
getObjectFlag(String) - Method in class gameobjects.GameObject
 
getOrCreateGlobalFlag(String, Object) - Static method in class playground.Playground
checks for existence and if not creates the new global flag with the given initial value.
getOrCreateLevelFlag(String, Object) - Method in class playground.Playground
 
getOrCreateObjectFlag(String, Object) - Method in class gameobjects.GameObject
 
getPlayground() - Method in class controller.ObjectController
 
getPlayground() - Method in class gameobjects.GameObject
 
getShowtimeList() - Method in class playground.Animation
 
getSizeX() - Method in class playground.Playground
 
getSizeY() - Method in class playground.Playground
 
getText() - Method in class gameobjects.TextObject
 
getText() - Method in class rendering.TextArtist
 
getTextHeight() - Method in class rendering.TextArtist
 
getTextWidth() - Method in class rendering.TextArtist
 
getTimestep() - Method in class controller.ObjectController
 
getTimestep() - Method in class playground.Playground
 
getVX() - Method in class controller.ObjectController
 
getVX() - Method in class gameobjects.GameObject
gets the screen X speed in pixels per frame.
getVX() - Method in class rendering.Artist
 
getVY() - Method in class controller.ObjectController
 
getVY() - Method in class gameobjects.GameObject
gets the screen Y speed in pixels per frame.
getVY() - Method in class rendering.Artist
 
getW() - Method in class rendering.AnimationArtist
 
getWidth() - Method in class gameobjects.RectObject
Getter for the width
getX() - Method in class collider.Collider
returns the corresponding game objects X coordinate (center) plus this colliders offset in X (probably zero).
getX() - Method in class controller.ObjectController
 
getX() - Method in class gameobjects.GameObject
gets the screen X position.
getX() - Method in class rendering.Artist
 
getY() - Method in class collider.Collider
returns the corresponding game objects Y coordinate (center) plus this colliders offset in Y (probably zero).
getY() - Method in class controller.ObjectController
 
getY() - Method in class gameobjects.GameObject
gets the screen Y position.
getY() - Method in class rendering.Artist
 
grabFocus() - Method in class ui.GameUI
 
A B C D E F G H I L M O P R S T U W Z 
All Classes and Interfaces|All Packages|Constant Field Values