Package de.pirckheimer_gymnasium.engine_pi.sound
package de.pirckheimer_gymnasium.engine_pi.sound
Klassen zur Audiowiedergabe.
-
ClassDescriptionEine Audiospur, die einmalig eine Eingangsmusik und die darauf folgende Musik in einer Endlosschleife abspielt.Ermöglicht die Steuerung der Musikwiedergabe.The
SoundPlaybackclass is a wrapperSourceDataLineon which aSoundplayback can be carried out.ATrackthat plays a sound once and then stops.This class implements all required functionality to load sounds from the file system and provide a stream that can later on be used for the sound playback.This implementation is used for all events that need to pass aSoundobject to their listeners.ASoundPlaybackimplementation for the playback of sound effects.DieseEventListener-Implementierung bietet Callbacks an, die darüber informiert, wenn einePlaybackInstanz abgebrochen oder beendet wird.