com.threerings.openal.config
Class SounderConfig.Scripted
java.lang.Object
com.threerings.util.DeepObject
com.threerings.openal.config.SounderConfig.Implementation
com.threerings.openal.config.SounderConfig.Scripted
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- SounderConfig
public static class SounderConfig.Scripted
- extends SounderConfig.Implementation
Plays a scripted sequence of sounders.
loopDuration
@Editable(min=0.0,
step=0.01)
public float loopDuration
- The loop duration, or zero for unlooped.
sounders
@Editable
public SounderConfig.TimedSounder[] sounders
- The sounders to play.
SounderConfig.Scripted
public SounderConfig.Scripted()
getUpdateReferences
public void getUpdateReferences(ConfigReferenceSet refs)
- Description copied from class:
SounderConfig.Implementation
- Adds the implementation's update references to the provided set.
- Overrides:
getUpdateReferences in class SounderConfig.Implementation
getSounderImplementation
public Sounder.Implementation getSounderImplementation(AlContext ctx,
Scope scope,
Sounder.Implementation impl)
- Description copied from class:
SounderConfig.Implementation
- Creates or updates a sounder implementation for this configuration.
- Specified by:
getSounderImplementation in class SounderConfig.Implementation
scope - the sounder's expression scope.impl - an existing implementation to reuse, if possible.
- Returns:
- either a reference to the existing implementation (if reused), a new
implementation, or
null if no implementation could be created.
Copyright © 2011. All Rights Reserved.