|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroup1.model.AudioModelMediator
public class AudioModelMediator
A special mediator class that should be referenced by anything in the model that needs to cue AudioEvents.
| Method Summary | |
|---|---|
static AudioModelMediator |
getInstance()
Get an instance of this class. |
boolean |
playAudio(Audio a)
Play the requested audio. |
void |
setGame(Game g)
Set the game referenced by this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AudioModelMediator getInstance()
public void setGame(Game g)
g - The game.public boolean playAudio(Audio a)
a - The enum type of the requested audio.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||