Package gameobjects
Class EgoObject
java.lang.Object
gameobjects.GameObject
gameobjects.EgoObject
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEgoObject
(String id, Playground pg, double x, double y, double vx, double vy, double egoRad) -
Method Summary
Modifier and TypeMethodDescriptiongenerates and sets collider(s) for this GameObject.Methods inherited from class gameobjects.GameObject
addArtist, addCollider, addController, collisionDetection, draw, getGameTime, getId, getObjectController, getObjectFlag, getOrCreateObjectFlag, getPlayground, getVX, getVY, getX, getY, isActive, setActive, setColliders, setComponentProperty, setObjectController, setObjectFlag, setPlayground, setVX, setVY, setX, setY, updateObject
-
Constructor Details
-
EgoObject
-
-
Method Details
-
generateColliders
Description copied from class:GameObject
generates and sets collider(s) for this GameObject. This implementation does nothing. Intended to be overridden by subclasses.- Overrides:
generateColliders
in classGameObject
- Returns:
- instance of this GameObject (this).
-