Package gameobjects

Class AnimatedGameobject

java.lang.Object
gameobjects.GameObject
gameobjects.AnimatedGameobject

public class AnimatedGameobject extends GameObject
  • Constructor Details

    • AnimatedGameobject

      public AnimatedGameobject(String id, Playground pg, double x, double y, double vx, double vy, double scale, Animation anim, double t0, String abspielmodus)
  • 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).