com.threerings.opengl.model.config
Class ActionConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.model.config.ActionConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ActionConfig.CallFunction, ActionConfig.PlaySound, ActionConfig.ShakeCamera, ActionConfig.SpawnTransient

@EditorTypes(value={ActionConfig.CallFunction.class,ActionConfig.SpawnTransient.class,ActionConfig.PlaySound.class,ActionConfig.ShakeCamera.class})
public abstract class ActionConfig
extends DeepObject
implements Exportable

Configurations for actions taken by models.


Nested Class Summary
static class ActionConfig.CallFunction
          Generic action that calls a scoped function.
static class ActionConfig.PlaySound
          Plays a sound.
static class ActionConfig.ShakeCamera
          Shakes the camera briefly using a damped oscillation.
static class ActionConfig.SpawnTransient
          Creates a transient model (such as a particle system) and adds it to the scene at the location of one of the model's nodes.
 
Constructor Summary
ActionConfig()
           
 
Method Summary
abstract  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
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionConfig

public ActionConfig()
Method Detail

createExecutor

public abstract Executor createExecutor(GlContext ctx,
                                        Scope scope)
Creates an executor for this action.



Copyright © 2011. All Rights Reserved.