jadex.application.space.envsupport.observer.graphics.layer
Class Layer
java.lang.Object
jadex.application.space.envsupport.observer.graphics.layer.Layer
- Direct Known Subclasses:
- GridLayer, TiledLayer
public class Layer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Layer
public Layer(int type)
Layer
public Layer(int type,
Object color)
getColor
public Object getColor()
setColor
public void setColor(Object color)
getType
public int getType()
- Returns the type of the layer.
- Returns:
- Type of the layer.
getRenderInfo
public Object getRenderInfo(int infoId)
- Returns cached render information.
- Parameters:
infoId - id of the information
- Returns:
- render info
setRenderInfo
public void setRenderInfo(int infoId,
Object info)
- Sets cached render information.
- Parameters:
infoId - id of the informationinfo - the render info
flushRenderInfo
public void flushRenderInfo()
- Flushes the render information.
Copyright © 2010. All Rights Reserved.