public final class ActionsConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATT_CANCEL
Action cancel attribute name.
|
static String |
ATT_PATH
Action path attribute name.
|
static String |
NODE_ACTION
Action node reference.
|
static String |
NODE_ACTIONS
Actions root node.
|
Modifier and Type | Method and Description |
---|---|
static Xml |
exports(Collection<ActionRef> actions)
Export the action node from config.
|
static List<ActionRef> |
imports(Configurer configurer)
Create the action data from configurer.
|
static List<ActionRef> |
imports(Xml root)
Create the action data from node.
|
public static final String NODE_ACTIONS
public static final String NODE_ACTION
public static final String ATT_PATH
public static final String ATT_CANCEL
public static List<ActionRef> imports(Configurer configurer)
configurer
- The configurer reference.LionEngineException
- If unable to read node.public static List<ActionRef> imports(Xml root)
root
- The root reference.LionEngineException
- If unable to read node.public static Xml exports(Collection<ActionRef> actions)
actions
- The allowed actions.LionEngineException
- If unable to write node.Copyright © 2017 Byron 3D Games Studio. All rights reserved.