Crossfire JXClient, Trunk
|
Public Member Functions | |
SoundWatcher (@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final SoundManager soundManager) | |
Private Attributes | |
final CrossfireSoundListener | crossfireSoundListener |
final SoundManager | soundManager |
Monitors sound and sound2 commands received from the server to generate sound effects.
Definition at line 34 of file SoundWatcher.java.
com.realtime.crossfire.jxclient.sound.SoundWatcher.SoundWatcher | ( | @NotNull final CrossfireServerConnection | crossfireServerConnection, |
@NotNull final SoundManager | soundManager | ||
) |
Creates a new instance.
crossfireServerConnection | the connection to watch |
soundManager | the sound manager instance to watch |
Definition at line 66 of file SoundWatcher.java.
References com.realtime.crossfire.jxclient.sound.SoundWatcher.crossfireSoundListener, and com.realtime.crossfire.jxclient.sound.SoundWatcher.soundManager.
|
private |
The crossfire sound listener.
Definition at line 47 of file SoundWatcher.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundWatcher.SoundWatcher().
|
private |
The SoundManager instance to watch.
Definition at line 40 of file SoundWatcher.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundWatcher.SoundWatcher().