|
Crossfire JXClient, Trunk
|
Interface for listeners interested in map related commands. More...
Inheritance diagram for com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener:
Collaboration diagram for com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener:Public Member Functions | |
| void | magicMap (int x, int y, byte @NotNull[] @NotNull[] data) |
| Part of "magicmap" parsing: set the magic map color. More... | |
| void | mapAnimation (@NotNull Location location, int animationNum, int animationType) |
| Part of "map2" parsing: set the animation of a cell. More... | |
| void | mapAnimationSpeed (@NotNull Location location, int animationSpeed) |
| Part of "map2" parsing: set the animation speed. More... | |
| Object | mapBegin () |
| Parsing of a "map2" command has been started. More... | |
| void | mapClear (int x, int y) |
| Part of "map2" parsing: clear a cell. More... | |
| void | mapDarkness (int x, int y, int darkness) |
| Part of "map2" parsing: change the darkness of a cell. More... | |
| void | mapEnd () |
| Parsing of "map2" has been finished. More... | |
| void | mapFace (@NotNull Location location, int faceNum) |
| Part of "map2" parsing: set the face of a cell. More... | |
| void | mapScroll (int dx, int dy) |
| Part of "map2" parsing: scroll the map view. More... | |
| void | mapSmooth (@NotNull Location location, int smooth) |
| Part of "map2" parsing: set the smooth level. More... | |
| void | newMap (int mapWidth, int mapHeight) |
| A "newmap" command has been received. More... | |
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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| 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.