|
Crossfire JXClient, Trunk
|


Public Member Functions | |
| void | commandSound2Received (int x, int y, int dir, int volume, int type, @NotNull String action, @NotNull String name) |
| void | commandSoundReceived (int x, int y, int num, int type) |
Public Attributes | |
| int | TYPE_GROUND = 4 |
| int | TYPE_HIT = 5 |
| int | TYPE_HIT_BY = 6 |
| int | TYPE_ITEM = 3 |
| int | TYPE_LIVING = 1 |
| int | TYPE_SPELL = 2 |
Interface for listeners interested in "sound" commands.
Definition at line 32 of file CrossfireSoundListener.java.
| void com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.commandSound2Received | ( | int | x, |
| int | y, | ||
| int | dir, | ||
| int | volume, | ||
| int | type, | ||
| @NotNull String | action, | ||
| @NotNull String | name | ||
| ) |
A sound2 command has been received.
| x | the x-coordinate relative to the player |
| y | the y-coordinate relative to the player |
| dir | the direction of the sound |
| volume | the volume of the sound |
| type | the sound type |
| action | the action name |
| name | the sound name |
| void com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.commandSoundReceived | ( | int | x, |
| int | y, | ||
| int | num, | ||
| int | type | ||
| ) |
A sound command has been received.
| x | the x-coordinate relative to the player |
| y | the y-coordinate relative to the player |
| num | the sound number |
| type | the sound type |
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_GROUND = 4 |
Type for "ground sound (door, trap opening, ...)".
Definition at line 52 of file CrossfireSoundListener.java.
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_HIT = 5 |
Type for "hit something".
Definition at line 57 of file CrossfireSoundListener.java.
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_HIT_BY = 6 |
Type for "hit by something".
Definition at line 62 of file CrossfireSoundListener.java.
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_ITEM = 3 |
Type for "item sound (potion, weapon ...)."
Definition at line 47 of file CrossfireSoundListener.java.
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_LIVING = 1 |
Type for "living sound (moving, dying, ...)".
Definition at line 37 of file CrossfireSoundListener.java.
| int com.realtime.crossfire.jxclient.server.crossfire.CrossfireSoundListener.TYPE_SPELL = 2 |
Type for "spell casting sound."
Definition at line 42 of file CrossfireSoundListener.java.
1.8.17