com.threerings.tudey.config
Class ActionConfig.Random
java.lang.Object
com.threerings.util.DeepObject
com.threerings.tudey.config.ActionConfig
com.threerings.tudey.config.ActionConfig.Random
- All Implemented Interfaces:
- Exportable, com.threerings.io.Streamable, Copyable, Cloneable
- Enclosing class:
- ActionConfig
public static class ActionConfig.Random
- extends ActionConfig
Executes an action from a weighted list.
| Nested classes/interfaces inherited from class com.threerings.tudey.config.ActionConfig |
ActionConfig.AbstractMove, ActionConfig.Case, ActionConfig.Compound, ActionConfig.Conditional, ActionConfig.Delayed, ActionConfig.DestroyActor, ActionConfig.EntryPortal, ActionConfig.ExpressionCase, ActionConfig.ExpressionSwitch, ActionConfig.FireEffect, ActionConfig.ForceClientAction, ActionConfig.MoveAll, ActionConfig.MoveBody, ActionConfig.Portal, ActionConfig.PreExecutable, ActionConfig.Random, ActionConfig.SetFlag, ActionConfig.SetVariable, ActionConfig.Signal, ActionConfig.SpawnActor, ActionConfig.SpawnRandomTranslatedActor, ActionConfig.SpawnRotatedActor, ActionConfig.SpawnTransformedActor, ActionConfig.StepLimitMobile, ActionConfig.Switch, ActionConfig.TaggedPortal, ActionConfig.TilePortal, ActionConfig.WarpActor, ActionConfig.WarpTransformedActor, ActionConfig.WeightedAction |
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
actions
@Editable
public ActionConfig.WeightedAction[] actions
- The contained actions.
ActionConfig.Random
public ActionConfig.Random()
getLogicClassName
public String getLogicClassName()
- Description copied from class:
ActionConfig
- Returns the name of the server-side logic class for this action.
- Specified by:
getLogicClassName in class ActionConfig
getPreloads
public void getPreloads(ConfigManager cfgmgr,
PreloadableSet preloads)
- Description copied from class:
ActionConfig
- Adds the resources to preload for this action into the provided set.
- Overrides:
getPreloads in class ActionConfig
invalidate
public void invalidate()
- Description copied from class:
ActionConfig
- Invalidates any cached data.
- Overrides:
invalidate in class ActionConfig
getSubActions
public ActionConfig[] getSubActions()
- Description copied from class:
ActionConfig
- Returns an array of any contained ActionConfigs.
- Overrides:
getSubActions in class ActionConfig
Copyright © 2011. All Rights Reserved.