|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uiuc.cs397rhc.game.MusicManager
Manages bits of music for the game.
| Constructor Summary | |
|---|---|
MusicManager()
Constructs a music manager to handle music for the game. |
|
| Method Summary | |
|---|---|
void |
gameUpdate(GameEvent ge)
Causes the music to respond to various events in the game. |
void |
setAllVolumes(double percent)
Sets all volumes to a given volume percentage. |
void |
setClarionVolumes(double percent)
Sets the volumes of all clarions to a given percentage. |
void |
setGrooveVolumes(double percent)
Sets the volumes of all grooves to a given percentage. |
void |
setMoodVolumes(double percent)
Sets the volumes of all moods to a given percentage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MusicManager()
| Method Detail |
|---|
public void gameUpdate(GameEvent ge)
MoodEvents,
AbilityEvents, and ScoreEvents.
gameUpdate in interface GameListenerge - the game event to react topublic void setAllVolumes(double percent)
percent - the volume to set for all Equalizablespublic void setMoodVolumes(double percent)
percent - the volume to set for all moodspublic void setGrooveVolumes(double percent)
percent - the volume to set for all groovespublic void setClarionVolumes(double percent)
percent - the volume to set for all clarions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||