org.ka2ddo.yaac.sound
Interface SoundMaker
- All Known Implementing Classes:
- DefaultSoundMaker
public interface SoundMaker
This interface specifies the methods and constants to use to request appropriate
sounds be made when events occur in YAAC. Not all conditions need to do anything, but all
event types must be accepted by implementing classes.
- See Also:
YAAC.getSoundMaker()
,
YAAC.setSoundMaker(SoundMaker)
Nested Class Summary |
static class |
SoundMaker.RunSound
This class provides the services to run sound effects from another thread. |
Method Summary |
void |
makeSound(MsgEventType type,
java.lang.Object param)
Make the sound appropriate for the specified event type. |
makeSound
void makeSound(MsgEventType type,
java.lang.Object param)
- Make the sound appropriate for the specified event type. The message (if provided) may be
queried for qualifying information.
- Parameters:
type
- type of event that wants a soundparam
- parameter associated with the event