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