java.lang.Objectcom.realtime.crossfire.jxclient.sound.MusicWatcher
public class MusicWatcher
Monitors music commands and generates appropriate sound effects.
| Field Summary | |
|---|---|
private CrossfireMusicListener |
crossfireMusicListener
The crossfire stats listener. |
private SoundManager |
soundManager
The SoundManager instance to watch. |
| Constructor Summary | |
|---|---|
MusicWatcher(CrossfireServerConnection crossfireServerConnection,
SoundManager soundManager)
Creates a new instance. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@NotNull private final CrossfireMusicListener crossfireMusicListener
@NotNull private final SoundManager soundManager
SoundManager instance to watch.
| Constructor Detail |
|---|
public MusicWatcher(@NotNull
CrossfireServerConnection crossfireServerConnection,
@NotNull
SoundManager soundManager)
crossfireServerConnection - the connection instancesoundManager - the sound manager instance to watch