Class Processor
- java.lang.Object
-
- com.realtime.crossfire.jxclient.sound.Processor
-
- All Implemented Interfaces:
java.lang.Runnable
public class Processor extends java.lang.Object implements java.lang.RunnableA thread that plays a music file over and over until terminated.
-
-
Constructor Summary
Constructors Constructor Description Processor(@NotNull java.lang.String name, @NotNull AudioFileLoader audioFileLoader)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidterminate(boolean fadeOut)Stops playing music.
-
-
-
Constructor Detail
-
Processor
public Processor(@NotNull @NotNull java.lang.String name, @NotNull @NotNull AudioFileLoader audioFileLoader)Creates a new instance.- Parameters:
name- the music name to playaudioFileLoader- the audio file loader for loading audio files
-
-