Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Classes | |
class | ActiveSound |
Public Member Functions | |
AudioSystem () | |
AudioSystem (final SourceGenerator _generator) | |
AudioSystem (final AddEventInterface _eventSystem, final SourceGenerator _generator) | |
void | setSourceGenerator (final SourceGenerator _generator) |
void | update (final float _dt) |
final void | processEvent (final Event _event) |
final void | passEvent (final Event _event) |
final String[] | getWantedEventTypes () |
Protected Member Functions | |
void | updateEvents () |
void | updateActiveSounds () |
void | useEventInAudio (final Event _event) |
void | creatAudio (final Settings _audio) |
void | modifyAudio (final Settings _settings, final ActiveSound _sound) |
void | storeActiveSound (final ActiveSound _sound) |
ActiveSound | createActiveSound (final String _file) |
void | passIDToCallback (final int _id, final Settings _audio) |
void | removeActiveSounds () |
Static Protected Attributes | |
static final SoundManager | soundManager = new SoundManager() |
com.linxonline.mallet.audio.AudioSystem.AudioSystem | ( | final SourceGenerator | _generator | ) |
com.linxonline.mallet.audio.AudioSystem.AudioSystem | ( | final AddEventInterface | _eventSystem, |
final SourceGenerator | _generator | ||
) |
void com.linxonline.mallet.audio.AudioSystem.creatAudio | ( | final Settings | _audio | ) | [protected] |
ActiveSound com.linxonline.mallet.audio.AudioSystem.createActiveSound | ( | final String | _file | ) | [protected] |
final String [] com.linxonline.mallet.audio.AudioSystem.getWantedEventTypes | ( | ) |
void com.linxonline.mallet.audio.AudioSystem.modifyAudio | ( | final Settings | _settings, |
final ActiveSound | _sound | ||
) | [protected] |
Modify the settings of a running AudioSource.
final void com.linxonline.mallet.audio.AudioSystem.passEvent | ( | final Event | _event | ) |
void com.linxonline.mallet.audio.AudioSystem.passIDToCallback | ( | final int | _id, |
final Settings | _audio | ||
) | [protected] |
Pass the ActiveSound ID to the IDInterface provided. Currently called when ActiveSound is created
final void com.linxonline.mallet.audio.AudioSystem.processEvent | ( | final Event | _event | ) |
void com.linxonline.mallet.audio.AudioSystem.removeActiveSounds | ( | ) | [protected] |
Remove ActiveSounds from the removeSounds array.
void com.linxonline.mallet.audio.AudioSystem.setSourceGenerator | ( | final SourceGenerator | _generator | ) |
void com.linxonline.mallet.audio.AudioSystem.storeActiveSound | ( | final ActiveSound | _sound | ) | [protected] |
void com.linxonline.mallet.audio.AudioSystem.update | ( | final float | _dt | ) |
void com.linxonline.mallet.audio.AudioSystem.updateActiveSounds | ( | ) | [protected] |
void com.linxonline.mallet.audio.AudioSystem.updateEvents | ( | ) | [protected] |
void com.linxonline.mallet.audio.AudioSystem.useEventInAudio | ( | final Event | _event | ) | [protected] |
final SoundManager com.linxonline.mallet.audio.AudioSystem.soundManager = new SoundManager() [static, protected] |