public final class SurfaceConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATT_ICON
Surface icon node.
|
static String |
ATT_IMAGE
Surface image node.
|
static String |
NODE_SURFACE
Surface node name.
|
Constructor and Description |
---|
SurfaceConfig(String image,
String icon)
Create the surface configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
static Xml |
exports(SurfaceConfig config)
Create the surface data from node.
|
String |
getIcon()
Get the icon descriptor.
|
String |
getImage()
Get the image descriptor.
|
int |
hashCode() |
static SurfaceConfig |
imports(Configurer configurer)
Create the surface data from configurer.
|
static SurfaceConfig |
imports(Xml root)
Create the surface data from node.
|
String |
toString() |
public static final String NODE_SURFACE
public static final String ATT_IMAGE
public static final String ATT_ICON
public static SurfaceConfig imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node.public static SurfaceConfig imports(Xml root)
root
- The root reference.LionEngineException
- If unable to read node.public static Xml exports(SurfaceConfig config)
config
- The config reference.LionEngineException
- If unable to write node.public String getImage()
public String getIcon()
null
if none).Copyright © 2017 Byron 3D Games Studio. All rights reserved.