Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
AudioEventGenerator () | |
Static Public Member Functions | |
static final Event | createAudioRequest (final String _audioFile, final IDInterface _idInterface, final PlaybackInterface _playback) |
static final Event | modifyAudioRequest (final int _id, final int _modify) |
Convience Factory that creates Events for the Developer to use when making request to the AudioSystem.
static final Event com.linxonline.mallet.audio.AudioEventGenerator.createAudioRequest | ( | final String | _audioFile, |
final IDInterface | _idInterface, | ||
final PlaybackInterface | _playback | ||
) | [static] |
Used to inform the AudioSystem to create a new AudioSource and play it.
static final Event com.linxonline.mallet.audio.AudioEventGenerator.modifyAudioRequest | ( | final int | _id, |
final int | _modify | ||
) | [static] |
Used to inform the AudioSystem to modify an existing AudioSource. _id refers to the AudioSource identifier _modify refers to how it AudioSource should be modified, either: PLAY, LOOP, STOP, PAUSE, etc.