Class MapArea
java.lang.Object
de.gurkenlabs.litiengine.entities.Entity
de.gurkenlabs.litiengine.entities.MapArea
- All Implemented Interfaces:
EntityRenderedListener
,EntityRenderListener
,IEntity
,Tweenable
,java.util.EventListener
- Direct Known Subclasses:
StaticShadow
public class MapArea
extends Entity
Field Summary
Constructor Summary
Method Summary
Methods inherited from class de.gurkenlabs.litiengine.entities.Entity
actions, addController, addEntityRenderListener, addListener, addTag, addTransformListener, animations, attachControllers, behavior, canRender, detachControllers, getAngle, getBoundingBox, getCenter, getController, getControllers, getEnvironment, getHeight, getLocation, getMapId, getName, getProperties, getRenderType, getTags, getTweenValues, getWidth, getX, getY, hasTag, isLoaded, isVisible, loaded, onMessage, onMessage, onRendered, perform, register, removed, removeListener, removeListener, removeListener, removeListener, removeListener, removeTag, rendered, rendering, renderWithLayer, sendMessage, setAngle, setController, setHeight, setLocation, setLocation, setMapId, setName, setRenderType, setRenderWithLayer, setSize, setTweenValues, setVisible, setWidth, setX, setY, toString
Constructor Details
MapArea
public MapArea()Instantiates a newMapArea
entity.MapArea
public MapArea(double x, double y, double width, double height)Instantiates a newMapArea
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, java.lang.String name, double x, double y, double width, double height)Instantiates a newMapArea
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.