|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uiuc.cs397rhc.game.MusicConsole
Provides a GUI for futzing with the music that a MusicManager is
playing. The GUI has a master slider and sliders for moods, grooves, and
clarions. The actual volume percentage set for any given type of
Equalizable is the master volume times the volume of the type.
Mute checkboxes can be used to mute any component. The state is saved in
$BFG_SOUND_HOME/console.properties.
| Constructor Summary | |
|---|---|
MusicConsole(MusicManager music)
Constructs a new game event simulator. |
|
| Method Summary | |
|---|---|
void |
updateAllVolumes()
Causes all volumes in the MusicManager to be updated to
match what the console indicates. |
void |
updateClarionVolumes()
Causes all clarion volumes in the MusicManager to be updated to
match what the console indicates. |
void |
updateGrooveVolumes()
Causes all groove volumes in the MusicManager to be updated to
match what the console indicates. |
void |
updateMoodVolumes()
Causes all mood volumes in the MusicManager to be updated to
match what the console indicates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MusicConsole(MusicManager music)
music - the manager that this console controls| Method Detail |
|---|
public void updateAllVolumes()
MusicManager to be updated to
match what the console indicates.
public void updateMoodVolumes()
MusicManager to be updated to
match what the console indicates. The actual volume percentage set
is the master volume times the mood volume.
public void updateGrooveVolumes()
MusicManager to be updated to
match what the console indicates. The actual volume percentage set
is the master volume times the groove volume.
public void updateClarionVolumes()
MusicManager to be updated to
match what the console indicates. The actual volume percentage set
is the master volume times the clarion volume.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||