Uses of Class
controller.ObjectController
Package
Description
The controller package contains Object controllers that govern an objects behavior, without being
involved in its collision or drawing properties.
-
Uses of ObjectController in collider
Modifier and TypeMethodDescriptionvoid
Collider.setController
(ObjectController controller) setter for GameController -
Uses of ObjectController in controller
Modifier and TypeClassDescriptionclass
An EgoController which cannot move through obstacle objects (is collission aware).class
Controller using key events for up, down, left, right and space (shooting) to control the ego object behavior.class
This class controls the space invaders.class
Controls background stars.class
Controls and abject that is deleted after a lifetime specified in the constructor, and when it leaves the display.class
class
class
-
Uses of ObjectController in gameobjects
Modifier and TypeMethodDescriptionGameObject.addController
(ObjectController c) Sets the controller to use for this GameObject's logical behavior.void
GameObject.setObjectController
(ObjectController controller) Sets a new object controller (replaces any former one).ModifierConstructorDescriptionGameObject
(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.