Uses of Class
playground.Playground
Packages that use 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
Methods in collider with parameters of type PlaygroundModifier and TypeMethodDescriptionvoid
Collider.setPlayground
(Playground playground) setter for Playground instance this collider belongs to -
Uses of Playground in controller
Methods in controller that return PlaygroundMethods in controller with parameters of type Playground -
Uses of Playground in gameobjects
Methods in gameobjects that return PlaygroundMethods in gameobjects with parameters of type PlaygroundConstructors in gameobjects with parameters of type PlaygroundModifierConstructorDescriptionAnimatedGameobject
(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
Subclasses of Playground in playgroundModifier 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
class
Class that realizes all the game logic of a very simple game level. -
Uses of Playground in ui
Methods in ui with parameters of type Playground