public class Layer extends 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,
Object color) |
Modifier and Type | Method and Description |
---|---|
void |
flushRenderInfo()
Flushes the render information.
|
Object |
getColor() |
Object |
getRenderInfo(int infoId)
Returns cached render information.
|
int |
getType()
Returns the type of the layer.
|
void |
setColor(Object color) |
void |
setRenderInfo(int infoId,
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, Object color)
public Object getColor()
public void setColor(Object color)
public int getType()
public Object getRenderInfo(int infoId)
infoId
- id of the informationpublic void setRenderInfo(int infoId, Object info)
infoId
- id of the informationinfo
- the render infopublic void flushRenderInfo()
Copyright © 2012. All Rights Reserved.