Class MapObjectLayer
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
de.gurkenlabs.litiengine.environment.tilemap.xml.MapObjectLayer
- All Implemented Interfaces:
ICustomPropertyProvider,ILayer,IMapObjectLayer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newMapObjectLayerinstance.MapObjectLayer(MapObjectLayer original) Instantiates a newMapObjectLayerinstance by copying from the specified original. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapObject(IMapObject mapObject) protected voidafterUnmarshal(jakarta.xml.bind.Unmarshaller u, Object parent) getColor()Gets the shapes.getMapObjects(int... mapIDs) getMapObjects(String... types) voidremoveMapObject(IMapObject mapObject) voidtoString()Methods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
getHeight, getHorizontalParallaxFactor, getId, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getRenderType, getSizeInTiles, getTintColor, getVerticalParallaxFactor, getWidth, isVisible, setHeight, setMap, setName, setOpacity, setRenderType, setTintColor, setVisible, setWidthMethods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayer
getHeight, getHorizontalParallaxFactor, getId, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getRenderType, getSizeInTiles, getTintColor, getVerticalParallaxFactor, getWidth, isVisible, setHeight, setName, setOpacity, setRenderType, setTintColor, setVisible, setWidth
-
Field Details
-
DEFAULT_MAPOBJECTLAYER_NAME
- See Also:
-
-
Constructor Details
-
MapObjectLayer
public MapObjectLayer()Instantiates a newMapObjectLayerinstance. -
MapObjectLayer
Instantiates a newMapObjectLayerinstance by copying from the specified original.- Parameters:
original- the layer we want to copy
-
-
Method Details
-
getMapObjects
Description copied from interface:IMapObjectLayerGets the shapes.- Specified by:
getMapObjectsin interfaceIMapObjectLayer- Returns:
- the shapes
-
removeMapObject
- Specified by:
removeMapObjectin interfaceIMapObjectLayer
-
toString
-
addMapObject
- Specified by:
addMapObjectin interfaceIMapObjectLayer
-
getColor
- Specified by:
getColorin interfaceIMapObjectLayer
-
setColor
- Specified by:
setColorin interfaceIMapObjectLayer
-
getMapObjects
- Specified by:
getMapObjectsin interfaceIMapObjectLayer
-
getMapObjects
- Specified by:
getMapObjectsin interfaceIMapObjectLayer
-
afterUnmarshal
- Overrides:
afterUnmarshalin classLayer
-