Class Layer
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.layer.Layer
-
- Direct Known Subclasses:
GridLayer
,TiledLayer
public class Layer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
LAYER_TYPE_COLOR
static int
LAYER_TYPE_GRID
static int
LAYER_TYPE_TILED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flushRenderInfo()
Flushes the render information.java.lang.Object
getColor()
java.lang.Object
getRenderInfo(int infoId)
Returns cached render information.int
getType()
Returns the type of the layer.void
setColor(java.lang.Object color)
void
setRenderInfo(int infoId, java.lang.Object info)
Sets cached render information.
-
-
-
Field Detail
-
LAYER_TYPE_COLOR
public static final int LAYER_TYPE_COLOR
- See Also:
- Constant Field Values
-
LAYER_TYPE_GRID
public static final int LAYER_TYPE_GRID
- See Also:
- Constant Field Values
-
LAYER_TYPE_TILED
public static final int LAYER_TYPE_TILED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getColor
public java.lang.Object getColor()
-
setColor
public void setColor(java.lang.Object color)
-
getType
public int getType()
Returns the type of the layer.- Returns:
- Type of the layer.
-
getRenderInfo
public java.lang.Object getRenderInfo(int infoId)
Returns cached render information.- Parameters:
infoId
- id of the information- Returns:
- render info
-
setRenderInfo
public void setRenderInfo(int infoId, java.lang.Object info)
Sets cached render information.- Parameters:
infoId
- id of the informationinfo
- the render info
-
flushRenderInfo
public void flushRenderInfo()
Flushes the render information.
-
-