public class SoundManager extends IzouModule implements AddonThreadPoolUser, EventListenerModel
log, main
Constructor and Description |
---|
SoundManager(Main main) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAsPermanent(AddOnModel addOnModel,
Identification source,
boolean nonJava) |
void |
addIzouSoundLine(AddOnModel addOnModel,
IzouSoundLineBaseClass izouSoundLine)
adds an IzouSoundLine, will now be tracked by the SoundManager
|
void |
endPermanent(AddOnModel addOnModel)
unregisters the AddonModel as permanent
|
void |
eventFired(EventModel event)
Invoked when an activator-event occurs.
|
protected void |
muteCallback(AddOnModel addOnModel,
IzouSoundLineBaseClass izouSoundLine) |
void |
requestPermanent(AddOnModel addOnModel,
Identification source,
boolean nonJava)
tries to register the AddonModel as permanent
|
debug, debug, error, error, fatal, fatal, getID, getMain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
submit, submit, timeOut
debug, debug, error, error, fatal, fatal, getMain
isOwner
public SoundManager(Main main)
public void addIzouSoundLine(AddOnModel addOnModel, IzouSoundLineBaseClass izouSoundLine)
addOnModel
- the addOnModel where the IzouSoundLine belongs toizouSoundLine
- the IzouSoundLine to addprotected void muteCallback(AddOnModel addOnModel, IzouSoundLineBaseClass izouSoundLine)
public void requestPermanent(AddOnModel addOnModel, Identification source, boolean nonJava)
addOnModel
- the AddonModel to registersource
- the Source which requested the usagenonJava
- true if it is not using java to play soundsprotected void addAsPermanent(AddOnModel addOnModel, Identification source, boolean nonJava)
public void endPermanent(AddOnModel addOnModel)
addOnModel
- the addonModel to checkpublic void eventFired(EventModel event)
eventFired
in interface EventListenerModel
event
- an instance of EventCopyright © 2016. All rights reserved.