public class MusicWatcher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CrossfireMusicListener |
crossfireMusicListener
The crossfire stats listener.
|
private SoundManager |
soundManager
The
SoundManager instance to watch. |
Constructor and Description |
---|
MusicWatcher(CrossfireServerConnection crossfireServerConnection,
SoundManager soundManager)
Creates a new instance.
|
@NotNull private final CrossfireMusicListener crossfireMusicListener
@NotNull private final SoundManager soundManager
SoundManager
instance to watch.public MusicWatcher(@NotNull CrossfireServerConnection crossfireServerConnection, @NotNull SoundManager soundManager)
crossfireServerConnection
- the connection instancesoundManager
- the sound manager instance to watch