Class TiledLayer
- java.lang.Object
- 
- jadex.extension.envsupport.observer.graphics.layer.Layer
- 
- jadex.extension.envsupport.observer.graphics.layer.TiledLayer
 
 
- 
 public class TiledLayer extends Layer A layer consisting of image tiles.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringtexturePath_Texture path.- 
Fields inherited from class jadex.extension.envsupport.observer.graphics.layer.LayerLAYER_TYPE_COLOR, LAYER_TYPE_GRID, LAYER_TYPE_TILED
 
- 
 - 
Constructor SummaryConstructors Constructor Description TiledLayer()Creates a new TiledLayer.TiledLayer(IVector2 tileSize, java.lang.Object color, java.lang.String texturePath)Creates a new TiledLayer.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares the layers.IVector2getInvTileSize()Get the inverted tile size.java.lang.StringgetTexturePath()Get the texture path.IVector2getTileSize()The tile size.inthashCode()Get the hash code.- 
Methods inherited from class jadex.extension.envsupport.observer.graphics.layer.LayerflushRenderInfo, getColor, getRenderInfo, getType, setColor, setRenderInfo
 
- 
 
- 
- 
- 
Constructor Detail- 
TiledLayerpublic TiledLayer() Creates a new TiledLayer.
 - 
TiledLayerpublic TiledLayer(IVector2 tileSize, java.lang.Object color, java.lang.String texturePath) Creates a new TiledLayer.- Parameters:
- tileSize- size of an individual tile
- color- the modulation color
- texturePath- resource path of the texture
 
 
- 
 - 
Method Detail- 
getTileSizepublic IVector2 getTileSize() The tile size.
 - 
getInvTileSizepublic IVector2 getInvTileSize() Get the inverted tile size.
 - 
getTexturePathpublic java.lang.String getTexturePath() Get the texture path.- Returns:
- The texture path.
 
 - 
hashCodepublic int hashCode() Get the hash code.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Compares the layers.- Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-