public class Processor
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
Processor(@NotNull java.lang.CharSequence name,
@NotNull AudioFileLoader audioFileLoader)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
terminate(boolean fadeOut)
Stops playing music.
|
public Processor(@NotNull @NotNull java.lang.CharSequence name, @NotNull @NotNull AudioFileLoader audioFileLoader)
name
- the music name to playaudioFileLoader
- the audio file loader for loading audio files