|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.tudey.config.ActionConfig
com.threerings.tudey.config.ActionConfig.Conditional
public static class ActionConfig.Conditional
Executes a sub-action if a condition is satisfied.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
ActionConfig |
action
The action to take if the condition is satisfied. |
ConditionConfig |
condition
The condition that must be satisfied. |
ActionConfig |
elseAction
The action to take if the condition is not satisfied. |
| Constructor Summary | |
|---|---|
ActionConfig.Conditional()
|
|
| Method Summary | |
|---|---|
String |
getLogicClassName()
Returns the name of the server-side logic class for this action. |
void |
getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
Adds the resources to preload for this action into the provided set. |
ActionConfig[] |
getSubActions()
Returns an array of any contained ActionConfigs. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable public ConditionConfig condition
@Editable public ActionConfig action
@Editable(nullable=true) public ActionConfig elseAction
| Constructor Detail |
|---|
public ActionConfig.Conditional()
| Method Detail |
|---|
public String getLogicClassName()
ActionConfig
getLogicClassName in class ActionConfig
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
ActionConfig
getPreloads in class ActionConfigpublic void invalidate()
ActionConfig
invalidate in class ActionConfigpublic ActionConfig[] getSubActions()
ActionConfig
getSubActions in class ActionConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||