Uses of Class
playground.Playground
Package
Description
The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.
-
Uses of Playground in collider
Modifier and TypeMethodDescriptionvoid
Collider.setPlayground
(Playground playground) setter for Playground instance this collider belongs to -
Uses of Playground in controller
-
Uses of Playground in gameobjects
ModifierConstructorDescriptionAnimatedGameobject
(String id, Playground pg, double x, double y, double vx, double vy, double scale, Animation anim, double t0, String abspielmodus) EgoObject
(String id, Playground pg, double x, double y, double vx, double vy, double egoRad) FallingStar
(String id, Playground playground, double x, double y, double vx, double vy, Color color, double rad) GameObject
(String id, Playground playground, double x, double y, double vx, double vy) Constructor to initialize a GameObject, respectively set the currentPlayground
instance this GameObject belongs to.GameObject
(String id, Playground playground, ObjectController controller, double x, double y, double vx, double vy) Constructor to initialize a GameObject, respectively set the current Playground instance this GameObject belongs to.RectObject
(String id, Playground pg, double x, double y, double vx, double vy, double width, double height, Color color) Initializes the RectObject with a suitable RectArtist for drawing the RectObject.TextObject
(String id, Playground playground, double x, double y, double vx, double vy, String text, int size, Color textColor) Constructor. -
Uses of Playground in playground
Modifier and TypeClassDescriptionclass
extendsSpaceInvadersLevel
with a boring start messageclass
extends extendsSpaceInvadersLevel
with a different startup message.class
extendsSpaceInvadersLevel
with a ZigZack move of the enemies inLevel3.createSingleEnemy(String, double, double, double, double, ObjectController, double)
and sets a differentLevel3.getStartupMessage()
.class
extends extendsSpaceInvadersLevel
Hit aliens twice to kill them they say AUA when not destroyedclass
class
class
class
Class that realizes all the game logic of a very simple game level.class
extendsSpaceInvadersLevel
with 10 enemies that need two shots each to be destroyed.class
extendsSpaceInvadersLevel
with a red box.class
Class that realizes all the game logic of a very simple game level.class
-
Uses of Playground in ui