| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private MapObjects | |
| private float | |
| private float | |
| private float | |
| private float | |
| private float | |
| private MapLayer | |
| private MapProperties | |
| private boolean | |
| private float | |
| private float | |
| private Color | |
| private Color | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Color | Returns: layer's tint color combined with the parent's tint colorReturns a temporary color that is the combination of this layer's tint color and its parent's tint color. |
| public String | |
| public MapObjects | |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public MapLayer | |
| public MapProperties | |
| public float | getRenderOffsetX()
Returns: the layer's x render offset, this takes into consideration all parent layers' offsets |
| public float | getRenderOffsetY()
Returns: the layer's y render offset, this takes into consideration all parent layers' offsets |
| public Color | |
| public void | invalidateRenderOffset()
set the renderOffsetDirty state to true, when this layer or any parents' offset has changed |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| name | back to summary |
|---|---|
| private String name | |
| objects | back to summary |
|---|---|
| private MapObjects objects | |
| offsetX | back to summary |
|---|---|
| private float offsetX | |
| offsetY | back to summary |
|---|---|
| private float offsetY | |
| opacity | back to summary |
|---|---|
| private float opacity | |
| parallaxX | back to summary |
|---|---|
| private float parallaxX | |
| parallaxY | back to summary |
|---|---|
| private float parallaxY | |
| parent | back to summary |
|---|---|
| private MapLayer parent | |
| properties | back to summary |
|---|---|
| private MapProperties properties | |
| renderOffsetDirty | back to summary |
|---|---|
| private boolean renderOffsetDirty | |
| renderOffsetX | back to summary |
|---|---|
| private float renderOffsetX | |
| renderOffsetY | back to summary |
|---|---|
| private float renderOffsetY | |
| tempColor | back to summary |
|---|---|
| private Color tempColor | |
| tintColor | back to summary |
|---|---|
| private Color tintColor | |
| visible | back to summary |
|---|---|
| private boolean visible | |
| MapLayer | back to summary |
|---|---|
| public MapLayer() | |
| calculateRenderOffsets | back to summary |
|---|---|
| protected void calculateRenderOffsets() | |
| getCombinedTintColor | back to summary |
|---|---|
| public Color getCombinedTintColor() Returns a temporary color that is the combination of this layer's tint color and its parent's tint color. The returned color is reused internally, so it should not be held onto or modified.
| |
| getName | back to summary |
|---|---|
public String getName()
| |
| getObjects | back to summary |
|---|---|
public MapObjects getObjects()
| |
| getOffsetX | back to summary |
|---|---|
public float getOffsetX()
| |
| getOffsetY | back to summary |
|---|---|
public float getOffsetY()
| |
| getOpacity | back to summary |
|---|---|
public float getOpacity()
| |
| getParallaxX | back to summary |
|---|---|
public float getParallaxX()
| |
| getParallaxY | back to summary |
|---|---|
public float getParallaxY()
| |
| getParent | back to summary |
|---|---|
| public MapLayer getParent() | |
| getProperties | back to summary |
|---|---|
public MapProperties getProperties()
| |
| getRenderOffsetX | back to summary |
|---|---|
public float getRenderOffsetX()
| |
| getRenderOffsetY | back to summary |
|---|---|
public float getRenderOffsetY()
| |
| getTintColor | back to summary |
|---|---|
public Color getTintColor()
| |
| invalidateRenderOffset | back to summary |
|---|---|
| public void invalidateRenderOffset() set the renderOffsetDirty state to true, when this layer or any parents' offset has changed | |
| isVisible | back to summary |
|---|---|
public boolean isVisible()
| |
| setName | back to summary |
|---|---|
public void setName(String name)
| |
| setOffsetX | back to summary |
|---|---|
public void setOffsetX(float offsetX)
| |
| setOffsetY | back to summary |
|---|---|
public void setOffsetY(float offsetY)
| |
| setOpacity | back to summary |
|---|---|
public void setOpacity(float opacity)
| |
| setParallaxX | back to summary |
|---|---|
| public void setParallaxX(float parallaxX) | |
| setParallaxY | back to summary |
|---|---|
| public void setParallaxY(float parallaxY) | |
| setParent | back to summary |
|---|---|
public void setParent(MapLayer parent)
| |
| setTintColor | back to summary |
|---|---|
public void setTintColor(Color tintColor)
| |
| setVisible | back to summary |
|---|---|
public void setVisible(boolean visible)
| |