java.lang.Objectcom.realtime.crossfire.jxclient.sound.SoundWatcher
public class SoundWatcher
Monitors sound and sound2 commands received from the server to generate sound effects.
| Field Summary | |
|---|---|
private CrossfireSoundListener |
crossfireSoundListener
The crossfire sound listener. |
private SoundManager |
soundManager
The SoundManager instance to watch. |
| Constructor Summary | |
|---|---|
SoundWatcher(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 CrossfireSoundListener crossfireSoundListener
@NotNull private final SoundManager soundManager
SoundManager instance to watch.
| Constructor Detail |
|---|
public SoundWatcher(@NotNull
CrossfireServerConnection crossfireServerConnection,
@NotNull
SoundManager soundManager)
crossfireServerConnection - the connection to watchsoundManager - the sound manager instance to watch