Crossfire JXClient, Trunk
|
Public Member Functions | |
void | magicMap (int x, int y, byte @NotNull[] @NotNull[] data) |
void | mapAnimation (@NotNull Location location, int animationNum, int animationType) |
void | mapAnimationSpeed (@NotNull Location location, int animationSpeed) |
Object | mapBegin () |
void | mapClear (int x, int y) |
void | mapDarkness (int x, int y, int darkness) |
void | mapEnd () |
void | mapFace (@NotNull Location location, int faceNum) |
void | mapScroll (int dx, int dy) |
void | mapSmooth (@NotNull Location location, int smooth) |
void | newMap (int mapWidth, int mapHeight) |
Interface for listeners interested in map related commands.
Definition at line 33 of file CrossfireUpdateMapListener.java.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.magicMap | ( | int | x, |
int | y, | ||
byte @NotNull @[]NotNull[] | data | ||
) |
Part of "magicmap" parsing: set the magic map color.
x | the x-coordinate |
y | the y-coordinate |
data | the magic map data (y, x); must not be changed |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapAnimation | ( | @NotNull Location | location, |
int | animationNum, | ||
int | animationType | ||
) |
Part of "map2" parsing: set the animation of a cell.
location | the location |
animationNum | the animation ID |
animationType | the animation type |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapAnimationSpeed | ( | @NotNull Location | location, |
int | animationSpeed | ||
) |
Part of "map2" parsing: set the animation speed.
location | the location |
animationSpeed | the animation speed |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
Object com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapBegin | ( | ) |
Parsing of a "map2" command has been started.
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapClear | ( | int | x, |
int | y | ||
) |
Part of "map2" parsing: clear a cell.
x | the x-coordinate |
y | the y-coordinate |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapDarkness | ( | int | x, |
int | y, | ||
int | darkness | ||
) |
Part of "map2" parsing: change the darkness of a cell.
x | the x-coordinate |
y | the y-coordinate |
darkness | the darkness value |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapEnd | ( | ) |
Parsing of "map2" has been finished.
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapFace | ( | @NotNull Location | location, |
int | faceNum | ||
) |
Part of "map2" parsing: set the face of a cell.
location | the location |
faceNum | the face ID |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapScroll | ( | int | dx, |
int | dy | ||
) |
Part of "map2" parsing: scroll the map view.
dx | the x-distance |
dy | the y-distance |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
Referenced by com.realtime.crossfire.jxclient.server.crossfire.DefaultCrossfireServerConnection.processMap2().
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.mapSmooth | ( | @NotNull Location | location, |
int | smooth | ||
) |
Part of "map2" parsing: set the smooth level.
location | the location |
smooth | the smooth value |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.
void com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.newMap | ( | int | mapWidth, |
int | mapHeight | ||
) |
A "newmap" command has been received.
mapWidth | the map width |
mapHeight | the map height |
Implemented in com.realtime.crossfire.jxclient.map.MapUpdaterState, and com.realtime.crossfire.jxclient.server.crossfire.TestCrossfireUpdateMapListener.