public class Layer
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static int | LAYER_TYPE_COLOR | 
| static int | LAYER_TYPE_GRID | 
| static int | LAYER_TYPE_TILED | 
| Constructor and Description | 
|---|
| Layer(int type) | 
| Layer(int type,
     java.lang.Object color) | 
| Modifier and Type | Method and 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. | 
public static final int LAYER_TYPE_COLOR
public static final int LAYER_TYPE_GRID
public static final int LAYER_TYPE_TILED
public Layer(int type)
public Layer(int type,
             java.lang.Object color)
public java.lang.Object getColor()
public void setColor(java.lang.Object color)
public int getType()
public java.lang.Object getRenderInfo(int infoId)
infoId - id of the informationpublic void setRenderInfo(int infoId,
                          java.lang.Object info)
infoId - id of the informationinfo - the render infopublic void flushRenderInfo()