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 intLAYER_TYPE_COLORstatic intLAYER_TYPE_GRIDstatic intLAYER_TYPE_TILED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflushRenderInfo()Flushes the render information.java.lang.ObjectgetColor()java.lang.ObjectgetRenderInfo(int infoId)Returns cached render information.intgetType()Returns the type of the layer.voidsetColor(java.lang.Object color)voidsetRenderInfo(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.
-
-