Crossfire JXClient, Trunk
R20561
|
Monitors sound and sound2 commands received from the server to generate sound effects. More...
Public Member Functions | |
SoundWatcher (@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final SoundManager soundManager) | |
Creates a new instance. More... | |
Private Attributes | |
final CrossfireSoundListener | crossfireSoundListener |
The crossfire sound listener. More... | |
final SoundManager | soundManager |
The SoundManager instance to watch. More... | |
Monitors sound and sound2 commands received from the server to generate sound effects.
Definition at line 33 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 65 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 46 of file SoundWatcher.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundWatcher.SoundWatcher().
|
private |
The SoundManager instance to watch.
Definition at line 39 of file SoundWatcher.java.
Referenced by com.realtime.crossfire.jxclient.sound.SoundWatcher.SoundWatcher().