public final class SurfaceConfig extends Object
SetupSurface
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 obj) |
static XmlNode |
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(Setup setup)
Create the surface data from setup.
|
static SurfaceConfig |
imports(XmlNode root)
Create the surface data from node.
|
public static final String NODE_SURFACE
public static final String ATT_IMAGE
public static final String ATT_ICON
public static SurfaceConfig imports(Setup setup)
setup
- The setup reference.LionEngineException
- If unable to read node.public static SurfaceConfig imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node.public static SurfaceConfig imports(XmlNode root)
root
- The root reference.LionEngineException
- If unable to read node.public static XmlNode exports(SurfaceConfig config)
config
- The config reference.LionEngineException
- If unable to write node.public String getImage()
public String getIcon()
null
if none).Copyright © 2016 Byron 3D Games Studio. All rights reserved.