|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.openal.config.SounderConfig.Implementation
com.threerings.openal.config.SounderConfig.Conditional
public static class SounderConfig.Conditional
Plays the first sounder whose condition evaluates to true.
| Field Summary | |
|---|---|
SounderConfig.Case[] |
cases
The condition cases. |
ConfigReference<SounderConfig> |
defaultSounder
The default sounder reference. |
| Constructor Summary | |
|---|---|
SounderConfig.Conditional()
|
|
| Method Summary | |
|---|---|
Sounder.Implementation |
getSounderImplementation(AlContext ctx,
Scope scope,
Sounder.Implementation impl)
Creates or updates a sounder implementation for this configuration. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set. |
void |
invalidate()
Invalidates any cached data. |
| Methods inherited from class com.threerings.openal.config.SounderConfig.Implementation |
|---|
getUpdateResources |
| 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 |
| Field Detail |
|---|
@Editable public SounderConfig.Case[] cases
@Editable(nullable=true) public ConfigReference<SounderConfig> defaultSounder
| Constructor Detail |
|---|
public SounderConfig.Conditional()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
SounderConfig.Implementation
getUpdateReferences in class SounderConfig.Implementation
public Sounder.Implementation getSounderImplementation(AlContext ctx,
Scope scope,
Sounder.Implementation impl)
SounderConfig.Implementation
getSounderImplementation in class SounderConfig.Implementationscope - the sounder's expression scope.impl - an existing implementation to reuse, if possible.
null if no implementation could be created.public void invalidate()
SounderConfig.Implementation
invalidate in class SounderConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||