Class MapArea

java.lang.Object
de.gurkenlabs.litiengine.entities.Entity
de.gurkenlabs.litiengine.entities.MapArea
All Implemented Interfaces:
EntityRenderedListener, EntityRenderListener, IEntity, Tweenable, EventListener
Direct Known Subclasses:
StaticShadow

public class MapArea extends Entity
  • Constructor Details

    • MapArea

      public MapArea()
      Instantiates a new MapArea entity.
    • MapArea

      public MapArea(double x, double y, double width, double height)
      Instantiates a new MapArea entity.
      Parameters:
      x - The x-coordinate of this instance.
      y - The y-coordinate of this instance.
      width - The width of this instance.
      height - The height of this instance.
    • MapArea

      public MapArea(int id, String name, double x, double y, double width, double height)
      Instantiates a new MapArea entity.
      Parameters:
      id - The id of this instance.
      name - The name of this instance.
      x - The x-coordinate of this instance.
      y - The y-coordinate of this instance.
      width - The width of this instance.
      height - The height of this instance.
  • Method Details

    • getShape

      public Shape getShape()
    • setShape

      public void setShape(Shape shape)