Class GroupLayer
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
de.gurkenlabs.litiengine.environment.tilemap.xml.GroupLayer
- All Implemented Interfaces:
ICustomPropertyProvider,IGroupLayer,ILayer,ILayerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds anILayerto the Layer list at the given index.voidAdds anILayerto the Layer list.protected voidafterUnmarshal(jakarta.xml.bind.Unmarshaller u, Object parent) Gets theIGroupLayers contained in a Layer list.Gets theIImageLayers contained in a Layer list.Gets all MapObjectLayers in the Layer list.Gets all render layers in the Layer list.Gets theITileLayers contained in a Layer list.voidremoveLayer(int index) Removes a layer from the Layer list.voidremoveLayer(ILayer layer) Removes anILayerfrom the Layer list.Methods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.Layer
getHeight, getId, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getRenderType, getSizeInTiles, getWidth, isVisible, setHeight, setMap, setName, setOpacity, setRenderType, setVisible, setWidthMethods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, 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, toString, wait, wait, waitMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayer
getHeight, getId, getMap, getName, getOffset, getOffsetX, getOffsetY, getOpacity, getRenderType, getSizeInTiles, getWidth, isVisible, setHeight, setName, setOpacity, setRenderType, setVisible, setWidthMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayerList
getMapObject, getMapObjectLayer, getMapObjectLayer, getMapObjectLayer, getMapObjects, getMapObjects, getMapObjects, removeMapObject
-
Constructor Details
-
GroupLayer
public GroupLayer()
-
-
Method Details
-
getRenderLayers
Description copied from interface:ILayerListGets all render layers in the Layer list.- Specified by:
getRenderLayersin interfaceILayerList- Returns:
- a List of ILayers
-
getMapObjectLayers
Description copied from interface:ILayerListGets all MapObjectLayers in the Layer list.- Specified by:
getMapObjectLayersin interfaceILayerList- Returns:
- a List of IMapObjectLayers
-
addLayer
Description copied from interface:ILayerListAdds anILayerto the Layer list.- Specified by:
addLayerin interfaceILayerList- Parameters:
layer- the layer to be added
-
addLayer
Description copied from interface:ILayerListAdds anILayerto the Layer list at the given index.- Specified by:
addLayerin interfaceILayerList- Parameters:
index- the indexlayer- the layer to be added
-
removeLayer
Description copied from interface:ILayerListRemoves anILayerfrom the Layer list.- Specified by:
removeLayerin interfaceILayerList- Parameters:
layer- the layer to be removed
-
removeLayer
public void removeLayer(int index) Description copied from interface:ILayerListRemoves a layer from the Layer list.- Specified by:
removeLayerin interfaceILayerList- Parameters:
index- the index of the layer to be removed
-
getTileLayers
Description copied from interface:ILayerListGets theITileLayers contained in a Layer list.- Specified by:
getTileLayersin interfaceILayerList- Returns:
- a
Listof allITileLayers
-
getImageLayers
Description copied from interface:ILayerListGets theIImageLayers contained in a Layer list.- Specified by:
getImageLayersin interfaceILayerList- Returns:
- a
Listof allIImageLayers
-
getGroupLayers
Description copied from interface:ILayerListGets theIGroupLayers contained in a Layer list.- Specified by:
getGroupLayersin interfaceILayerList- Returns:
- a
Listof allIGroupLayers
-
afterUnmarshal
- Overrides:
afterUnmarshalin classLayer
-