Package gameobjects

Class EgoObject


public class EgoObject extends GameObject
  • Constructor Details

    • EgoObject

      public EgoObject(String id, Playground pg, double x, double y, double vx, double vy, double egoRad)
  • Method Details

    • generateColliders

      public GameObject 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 class GameObject
      Returns:
      instance of this GameObject (this).