public final class LaunchableConfig extends Object
Launchable
Modifier and Type | Field and Description |
---|---|
static String |
ATT_DELAY
Rate attribute name.
|
static String |
ATT_MEDIA
Media attribute name.
|
static String |
NODE_LAUNCHABLE
Launchable node name.
|
Constructor and Description |
---|
LaunchableConfig(String media,
int delay,
Force vector)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static XmlNode |
exports(LaunchableConfig config)
Export the launchable node from data.
|
int |
getDelay()
Get the launch delay value.
|
String |
getMedia()
Get the media.
|
Force |
getVector()
Get the vector value.
|
int |
hashCode() |
static LaunchableConfig |
imports(XmlNode node)
Import the launchable data from node.
|
public static final String NODE_LAUNCHABLE
public static final String ATT_MEDIA
public static final String ATT_DELAY
public LaunchableConfig(String media, int delay, Force vector)
media
- The media value.delay
- The delay value.vector
- The vector force.LionEngineException
- If null
arguments.public static LaunchableConfig imports(XmlNode node)
node
- The node reference.LionEngineException
- If unable to read node.public static XmlNode exports(LaunchableConfig config)
config
- The config reference.LionEngineException
- If unable to write node.public String getMedia()
public int getDelay()
public Force getVector()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.