 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.sound;
27 import org.jetbrains.annotations.NotNull;
46 @SuppressWarnings(
"FieldCanBeLocal")
50 public void commandSoundReceived(
final int x,
final int y,
final int num,
final int type) {
55 public void commandSound2Received(
final int x,
final int y,
final int dir,
final int volume,
final int type, @NotNull
final String action, @NotNull
final String name) {
Interface for listeners interested in "sound" commands.
final SoundManager soundManager
The SoundManager instance to watch.
Adds encoding/decoding of crossfire protocol packets to a ServerConnection.
void playClip(@NotNull final Sounds type, @NotNull final CharSequence action)
Plays a sound clip.
Monitors sound and sound2 commands received from the server to generate sound effects.
final CrossfireSoundListener crossfireSoundListener
The crossfire sound listener.
CHARACTER
A character related sound event.
SoundWatcher(@NotNull final CrossfireServerConnection crossfireServerConnection, @NotNull final SoundManager soundManager)
Creates a new instance.