public class SoundPreferences extends AbstractSubsystemPreferences
Copyright 2010 Partner Software, Inc.
| Constructor and Description |
|---|
SoundPreferences(Cog state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSoundEnabled()
If true, the Map Viewer is replete with annoying noises.
|
void |
setSoundEnabled(boolean soundEnabled) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
getName, setNamepublic SoundPreferences(Cog state)
public Cog toCog()
CoggableCog.toCog in interface CoggabletoCog in class AbstractSubsystemPreferencespublic boolean isSoundEnabled()
public void setSoundEnabled(boolean soundEnabled)