Uses of Class
controller.ObjectController
Packages that use 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
Methods in collider with parameters of type ObjectControllerModifier and TypeMethodDescriptionvoid
Collider.setController
(ObjectController controller) setter for GameController -
Uses of ObjectController in controller
Subclasses of ObjectController in controllerModifier 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
Methods in gameobjects that return ObjectControllerMethods in gameobjects with parameters of type ObjectControllerModifier 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).Constructors in gameobjects with parameters of type ObjectControllerModifierConstructorDescriptionGameObject
(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.