Crossfire JXClient, Trunk
R20561
|
Update a CfMap model from protocol commands. More...
Public Member Functions | |||||||
void | addAnimation (final int animation, final int flags, @NotNull final int[] faces) | ||||||
An "addanim" command has been received.
| |||||||
void | addCrossfireMapListener (@NotNull final MapListener listener) | ||||||
Adds a listener to notify about changed map squares. More... | |||||||
void | addCrossfireMapScrollListener (@NotNull final MapScrollListener listener) | ||||||
Adds a listener to notify about scrolled maps. More... | |||||||
void | addCrossfireNewmapListener (@NotNull final NewmapListener listener) | ||||||
Adds a listener to notify about cleared maps. More... | |||||||
void | addMapSizeListener (@NotNull final MapSizeListener listener) | ||||||
Adds a listener to be notified about map size changes. More... | |||||||
void | faceUpdated (@NotNull final Face face) | ||||||
Called when a Face has been updated.
| |||||||
CfMap | getMap () | ||||||
Returns the current map instance. More... | |||||||
int | getMapHeight () | ||||||
Returns the height of the visible map area. More... | |||||||
int | getMapWidth () | ||||||
Returns the width of the visible map area. More... | |||||||
void | magicMap (final int x, final int y, final byte[][] data) | ||||||
Part of "magicmap" parsing: set the magic map color.
| |||||||
void | mapAnimation (@NotNull final Location location, final int animationNum, final int animationType) | ||||||
Part of "map2" parsing: set the animation of a cell.
| |||||||
void | mapAnimationSpeed (@NotNull final Location location, final int animationSpeed) | ||||||
Part of "map2" parsing: set the animation speed.
| |||||||
Object | mapBegin () | ||||||
Parsing of a "map2" command has been started.
| |||||||
void | mapClear (final int x, final int y) | ||||||
Part of "map2" parsing: clear a cell.
| |||||||
void | mapDarkness (final int x, final int y, final int darkness) | ||||||
Part of "map2" parsing: change the darkness of a cell.
| |||||||
void | mapEnd () | ||||||
Parsing of "map2" has been finished. More... | |||||||
void | mapEnd (final boolean alwaysProcess) | ||||||
Finishes processing of a set of map square changes. More... | |||||||
void | mapFace (@NotNull final Location location, final int faceNum) | ||||||
Part of "map2" parsing: set the face of a cell.
| |||||||
void | mapFace (@NotNull final Location location, final int faceNum, final boolean clearAnimation) | ||||||
Updates a map square by changing a face. More... | |||||||
void | mapScroll (final int dx, final int dy) | ||||||
Part of "map2" parsing: scroll the map view.
| |||||||
void | mapSmooth (@NotNull final Location location, final int smooth) | ||||||
Part of "map2" parsing: set the smooth level.
| |||||||
MapUpdaterState (@NotNull final FacesManager facesManager, @Nullable final GuiStateManager guiStateManager) | |||||||
Creates a new instance. More... | |||||||
void | newMap (final int mapWidth, final int mapHeight) | ||||||
A "newmap" command has been received.
| |||||||
void | removeCrossfireMapListener (@NotNull final MapListener listener) | ||||||
Removes a listener to notify about changed map squares. More... | |||||||
void | removeCrossfireMapScrollListener (@NotNull final MapScrollListener listener) | ||||||
Removes a listener to notify about scrolled maps. More... | |||||||
void | removeCrossfireNewmapListener (@NotNull final NewmapListener listener) | ||||||
Removes a listener to notify about cleared maps. More... | |||||||
void | removeMapSizeListener (@NotNull final MapSizeListener listener) | ||||||
Removes a listener to be notified about map size changes. More... | |||||||
void | reset () | ||||||
Resets the animation state. More... | |||||||
void | tick (final int tickNo) | ||||||
A "tick" command has been received.
| |||||||
Private Attributes | |
final Animations | animations |
The defined animations. More... | |
final FacesManager | facesManager |
The FacesManager to track for updated faces. More... | |
final CfMap | map = new CfMap() |
The current CfMap instance. More... | |
int | mapHeight |
The height of the visible map area. More... | |
final EventListenerList2< MapListener > | mapListeners = new EventListenerList2<>() |
The listeners to notify about changed map squares. More... | |
final EventListenerList2< MapScrollListener > | mapScrollListeners = new EventListenerList2<>() |
The listeners to notify about scrolled maps. More... | |
final EventListenerList2< MapSizeListener > | mapSizeListeners = new EventListenerList2<>() |
The MapSizeListeners to be notified. More... | |
int | mapWidth |
The width of the visible map area. More... | |
final EventListenerList2< NewmapListener > | newmapListeners = new EventListenerList2<>() |
The listeners to notify about cleared maps. More... | |
final Collection< Location > | outOfViewMultiFaces = new HashSet<>() |
All multi-tiled faces with heads outside the visible map area. More... | |
final Object | sync = new Object() |
The object used for synchronization. More... | |
final CfMapAnimations | visibleAnimations = new CfMapAnimations() |
The animations in the visible map area. More... | |
Update a CfMap model from protocol commands.
The map updater is called from two threads: the com.realtime.crossfire.jxclient.server.socket.ClientSocket reading commands received from the Crossfire server, and com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue reading faces from the (file) cache. Synchronization is by sync and applies to the whole map model map.
Definition at line 50 of file MapUpdaterState.java.
com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState | ( | @NotNull final FacesManager | facesManager, |
@Nullable final GuiStateManager | guiStateManager | ||
) |
Creates a new instance.
facesManager | the faces manager to track for updated faces |
guiStateManager | the gui state manager to watch or null |
Definition at line 127 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.facesManager.
void com.realtime.crossfire.jxclient.map.MapUpdaterState.addAnimation | ( | final int | animation, |
final int | flags, | ||
@NotNull final int [] | faces | ||
) |
An "addanim" command has been received.
animation | the animation ID |
flags | the animation flags |
faces | the faces list; must not be modified |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 445 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.animations.Animations.addAnimation().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireMapListener | ( | @NotNull final MapListener | listener | ) |
Adds a listener to notify about changed map squares.
listener | the listener to add |
Definition at line 136 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.add().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireMapScrollListener | ( | @NotNull final MapScrollListener | listener | ) |
Adds a listener to notify about scrolled maps.
listener | the listener to add |
Definition at line 168 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.add().
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireNewmapListener | ( | @NotNull final NewmapListener | listener | ) |
Adds a listener to notify about cleared maps.
listener | the listener to add |
Definition at line 152 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.add().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.addMapSizeListener | ( | @NotNull final MapSizeListener | listener | ) |
Adds a listener to be notified about map size changes.
listener | the listener to add |
Definition at line 184 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.add().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated | ( | @NotNull final Face | face | ) |
Called when a Face has been updated.
face | the face |
Implements com.realtime.crossfire.jxclient.faces.FacesManagerListener.
Definition at line 378 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapBegin(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, and com.realtime.crossfire.jxclient.map.CfMap.updateFace().
CfMap com.realtime.crossfire.jxclient.map.MapUpdaterState.getMap | ( | ) |
Returns the current map instance.
Definition at line 421 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.gui.map.GUIMiniMap.markPlayer(), com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.redrawAll(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
int com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapHeight | ( | ) |
Returns the height of the visible map area.
Definition at line 437 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest().
int com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapWidth | ( | ) |
Returns the width of the visible map area.
Definition at line 429 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth.
Referenced by com.realtime.crossfire.jxclient.scripts.DefaultScriptProcess.cmdRequest().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.magicMap | ( | final int | x, |
final int | y, | ||
final byte | 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 |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 314 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.CfMap.setMagicMap().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimation | ( | @NotNull final Location | location, |
final int | animationNum, | ||
final int | animationType | ||
) |
Part of "map2" parsing: set the animation of a cell.
location | the location |
animationNum | the animation ID |
animationType | the animation type |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 265 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMapAnimations.add(), com.realtime.crossfire.jxclient.animations.Animations.get(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.CfMap.setFace().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimationSpeed | ( | @NotNull final Location | location, |
final int | animationSpeed | ||
) |
Part of "map2" parsing: set the animation speed.
location | the location |
animationSpeed | the animation speed |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 283 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMapAnimations.updateSpeed().
Object com.realtime.crossfire.jxclient.map.MapUpdaterState.mapBegin | ( | ) |
Parsing of a "map2" command has been started.
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 210 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapClear | ( | final int | x, |
final int | y | ||
) |
Part of "map2" parsing: clear a cell.
x | the x-coordinate |
y | the y-coordinate |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 218 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMap.clearSquare(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.CfMapAnimations.remove().
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapDarkness | ( | final int | x, |
final int | y, | ||
final int | darkness | ||
) |
Part of "map2" parsing: change the darkness of a cell.
x | the x-coordinate |
y | the y-coordinate |
darkness | the darkness value |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 303 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.CfMap.setDarkness().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd | ( | ) |
Parsing of "map2" has been finished.
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 325 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd | ( | final boolean | alwaysProcess | ) |
Finishes processing of a set of map square changes.
Notifies listeners about changes.
alwaysProcess | if set, notify listeners even if no changes are present |
Definition at line 335 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMap.getDirtyMapSquares(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.map.
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace | ( | @NotNull final Location | location, |
final int | faceNum | ||
) |
Part of "map2" parsing: set the face of a cell.
location | the location |
faceNum | the face ID |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 231 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace | ( | @NotNull final Location | location, |
final int | faceNum, | ||
final boolean | clearAnimation | ||
) |
Updates a map square by changing a face.
location | the location to update |
faceNum | the face to set; 0 |
clearAnimation | whether an animation should be cleared |
Definition at line 241 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.faces.FacesManager.getFace2(), com.realtime.crossfire.jxclient.faces.Face.getTileHeight(), com.realtime.crossfire.jxclient.faces.Face.getTileWidth(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfMapAnimations.remove(), and com.realtime.crossfire.jxclient.map.CfMap.setFace().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll | ( | final int | dx, |
final int | dy | ||
) |
Part of "map2" parsing: scroll the map view.
dx | the x-distance |
dy | the y-distance |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 353 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMapAnimations.clear(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfMap.processMapScroll(), com.realtime.crossfire.jxclient.map.CfMapAnimations.remove(), com.realtime.crossfire.jxclient.map.CfMapAnimations.scroll(), and com.realtime.crossfire.jxclient.map.CfMap.setFace().
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.mapSmooth | ( | @NotNull final Location | location, |
final int | smooth | ||
) |
Part of "map2" parsing: set the smooth level.
location | the location |
smooth | the smooth value |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 292 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.CfMap.setSmooth().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap | ( | final int | mapWidth, |
final int | mapHeight | ||
) |
A "newmap" command has been received.
mapWidth | the map width |
mapHeight | the map height |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 392 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, com.realtime.crossfire.jxclient.map.CfMap.reset(), com.realtime.crossfire.jxclient.map.CfMapAnimations.setMapSize(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.reset(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts2(), com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts3(), and com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testFogOfWar1().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireMapListener | ( | @NotNull final MapListener | listener | ) |
Removes a listener to notify about changed map squares.
listener | the listener to remove |
Definition at line 144 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.remove().
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireMapScrollListener | ( | @NotNull final MapScrollListener | listener | ) |
Removes a listener to notify about scrolled maps.
listener | the listener to remove |
Definition at line 176 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.remove().
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose(), and com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireNewmapListener | ( | @NotNull final NewmapListener | listener | ) |
Removes a listener to notify about cleared maps.
listener | the listener to remove |
Definition at line 160 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.remove().
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.removeMapSizeListener | ( | @NotNull final MapSizeListener | listener | ) |
Removes a listener to be notified about map size changes.
listener | the listener to remove |
Definition at line 192 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.util.EventListenerList2< T extends EventListener >.remove().
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.reset | ( | ) |
Resets the animation state.
Definition at line 199 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
void com.realtime.crossfire.jxclient.map.MapUpdaterState.tick | ( | final int | tickNo | ) |
A "tick" command has been received.
tickNo | the current tick |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireTickListener.
Definition at line 453 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.sync, and com.realtime.crossfire.jxclient.map.CfMapAnimations.tick().
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1().
|
private |
The defined animations.
Definition at line 68 of file MapUpdaterState.java.
|
private |
The FacesManager to track for updated faces.
Definition at line 62 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState().
The current CfMap instance.
Definition at line 84 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterState.getMap(), com.realtime.crossfire.jxclient.map.MapUpdaterState.magicMap(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimation(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapClear(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapDarkness(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapSmooth(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap().
|
private |
The height of the visible map area.
Definition at line 78 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapHeight(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap().
|
private |
The listeners to notify about changed map squares.
Definition at line 90 of file MapUpdaterState.java.
|
private |
The listeners to notify about scrolled maps.
Definition at line 102 of file MapUpdaterState.java.
|
private |
The MapSizeListeners to be notified.
Definition at line 108 of file MapUpdaterState.java.
|
private |
The width of the visible map area.
Definition at line 73 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapWidth(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap().
|
private |
The listeners to notify about cleared maps.
Definition at line 96 of file MapUpdaterState.java.
|
private |
All multi-tiled faces with heads outside the visible map area.
Definition at line 120 of file MapUpdaterState.java.
|
private |
The object used for synchronization.
Definition at line 56 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.mapBegin(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), com.realtime.crossfire.jxclient.map.MapUpdaterState.reset(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.tick().
|
private |
The animations in the visible map area.
Definition at line 114 of file MapUpdaterState.java.