Modifier and Type | Field and Description |
---|---|
static String |
ATT_RATE
Rate attribute name.
|
static String |
NODE_LAUNCHER
Launcher node name.
|
Constructor and Description |
---|
LauncherConfig(int rate,
Collection<LaunchableConfig> launchables)
Create a launcher configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static XmlNode |
exports(LauncherConfig config)
Export the launcher node from config.
|
Iterable<LaunchableConfig> |
getLaunchables()
Get the launchables configuration.
|
int |
getRate()
Get the launch rate value.
|
int |
hashCode() |
static LauncherConfig |
imports(Configurer configurer)
Import the launcher data from configurer.
|
static LauncherConfig |
imports(XmlNode node)
Import the launcher data from node.
|
public static final String NODE_LAUNCHER
public static final String ATT_RATE
public LauncherConfig(int rate, Collection<LaunchableConfig> launchables)
rate
- The rate value.launchables
- The launchables reference.public static LauncherConfig imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node.public static LauncherConfig imports(XmlNode node)
node
- The node reference.LionEngineException
- If unable to read node.public static XmlNode exports(LauncherConfig config)
config
- The config reference.LionEngineException
- If unable to read node.public int getRate()
public Iterable<LaunchableConfig> getLaunchables()
Copyright © 2016 Byron 3D Games Studio. All rights reserved.