|
||||||||||
| 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.Switch
public static class ActionConfig.Switch
Executes the first sub-action with a satisfied condition.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
com.threerings.io.Streamable.Closure |
| Field Summary | |
|---|---|
ActionConfig.Case[] |
cases
The switch cases. |
ActionConfig |
defaultAction
The default action to take if no case is satisfied. |
| Constructor Summary | |
|---|---|
ActionConfig.Switch()
|
|
| 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 ActionConfig.Case[] cases
@Editable(nullable=true) public ActionConfig defaultAction
| Constructor Detail |
|---|
public ActionConfig.Switch()
| 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 | |||||||||