- Game - Class in net.stemkoski.bagel
-
Main class to be extended for game projects.
- Game() - Constructor for class net.stemkoski.bagel.Game
-
- get(int) - Method in class net.stemkoski.bagel.Group
-
Retrieve a single Entity instance from this collection.
- getAngle() - Method in class net.stemkoski.bagel.Vector2
-
Calculate the angle (in degrees) between this vector
and the x-axis (the vector (1,0)).
- getBoundary() - Method in class net.stemkoski.bagel.Sprite
-
Get boundary shape for this sprite, adjusted according to current position.
- getLength() - Method in class net.stemkoski.bagel.Vector2
-
Calculate the length of this vector
- getMinTranslationVector(Rectangle) - Method in class net.stemkoski.bagel.Rectangle
-
Assuming that this rectangle and other rectangle overlap,
calculate the minimum length vector required to translate this rectangle
so that there is no longer any overlap between them.
- getMotionAngle() - Method in class net.stemkoski.bagel.Physics
-
Calculate the angle of motion (in degrees)
as measured from the x-axis (the vector (1,0)).
- getMousePosition() - Method in class net.stemkoski.bagel.Input
-
Return current position of mouse on game canvas.
- getSpeed() - Method in class net.stemkoski.bagel.Physics
-
Calculate speed of object.
- getSymbolPositionList(String) - Method in class net.stemkoski.bagel.TileMap
-
Return the game world coordinates (in pixels) of every occurrence
of symbol
in map data.
- getTileAt(int, int) - Method in class net.stemkoski.bagel.TileMap
-
Get the tile at the corresponding map position (if one exists).
- gravity - Variable in class net.stemkoski.bagel.PlatformPhysics
-
constant downwards acceleration
- group - Variable in class net.stemkoski.bagel.Game
-
The root collection for all
Entity
objects in this game.
- Group - Class in net.stemkoski.bagel
-
A collections of
Entity
objects.
- Group() - Constructor for class net.stemkoski.bagel.Group
-
Initialize this object.