com.threerings.opengl.model.config
Class ActionConfig.Conditional

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ActionConfig
          extended by com.threerings.opengl.model.config.ActionConfig.Conditional
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ActionConfig

public static class ActionConfig.Conditional
extends ActionConfig

Performs one of a number of sub-actions depending on conditions.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.model.config.ActionConfig
ActionConfig.CallFunction, ActionConfig.Case, ActionConfig.Compound, ActionConfig.Conditional, ActionConfig.PlaySound, ActionConfig.Random, ActionConfig.ShakeCamera, ActionConfig.SpawnTransient, ActionConfig.WeightedAction
 
Field Summary
 ActionConfig.Case[] cases
          The cases.
 ActionConfig defaultAction
          The default action.
 
Constructor Summary
ActionConfig.Conditional()
           
 
Method Summary
 Executor createExecutor(GlContext ctx, Scope scope)
          Creates an executor for this action.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cases

@Editable
public ActionConfig.Case[] cases
The cases.


defaultAction

@Editable
public ActionConfig defaultAction
The default action.

Constructor Detail

ActionConfig.Conditional

public ActionConfig.Conditional()
Method Detail

createExecutor

public Executor createExecutor(GlContext ctx,
                               Scope scope)
Description copied from class: ActionConfig
Creates an executor for this action.

Specified by:
createExecutor in class ActionConfig