Modifier and Type | Field and Description |
---|---|
static String |
ATT_DISPLAY
Display layer node name.
|
static String |
ATT_REFRESH
Refresh layer node name.
|
static String |
NODE_LAYERABLE
Frames node name.
|
Constructor and Description |
---|
LayerableConfig(int layerRefresh,
int layerDisplay)
Create the layerable configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
static Xml |
exports(LayerableConfig config)
Exports the layerable node from config.
|
int |
getLayerDisplay()
Get the layer display.
|
int |
getLayerRefresh()
Get the layer refresh.
|
int |
hashCode() |
static LayerableConfig |
imports(Configurer configurer)
Imports the layerable config from configurer.
|
static LayerableConfig |
imports(Xml root)
Imports the layerable config from node.
|
String |
toString() |
public static final String NODE_LAYERABLE
public static final String ATT_REFRESH
public static final String ATT_DISPLAY
public LayerableConfig(int layerRefresh, int layerDisplay)
layerRefresh
- The layer refresh.layerDisplay
- The layer display.public static LayerableConfig imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node or invalid integer.public static LayerableConfig imports(Xml root)
root
- The root reference.LionEngineException
- If unable to read node or invalid integer.public static Xml exports(LayerableConfig config)
config
- The config reference.LionEngineException
- If unable to read node or invalid integer.public int getLayerRefresh()
public int getLayerDisplay()
Copyright © 2017 Byron 3D Games Studio. All rights reserved.