com.threerings.openal
Class Sounder.VariableClip
java.lang.Object
com.threerings.expr.SimpleScope
com.threerings.openal.Sounder.Implementation
com.threerings.openal.Sounder.BaseClip
com.threerings.openal.Sounder.VariableClip
- All Implemented Interfaces:
- Scope, ScopeUpdateListener
- Enclosing class:
- Sounder
public static class Sounder.VariableClip
- extends Sounder.BaseClip
Plays a clip with variable parameters.
| Fields inherited from interface com.threerings.expr.Scope |
EPOCH, NOW |
Sounder.VariableClip
public Sounder.VariableClip(AlContext ctx,
Scope parentScope,
SounderConfig.VariableClip config)
- Creates a new clip implementation.
setConfig
public void setConfig(SounderConfig.VariableClip config)
- (Re)configures the implementation.
loops
public boolean loops()
- Description copied from class:
Sounder.Implementation
- Checks whether the configured sound loops.
- Overrides:
loops in class Sounder.Implementation
start
public void start()
- Description copied from class:
Sounder.Implementation
- Starts playing the sound.
- Specified by:
start in class Sounder.Implementation
Copyright © 2011. All Rights Reserved.