Crossfire JXClient, Trunk
|
Public Member Functions | |
void | addCrossfireMapListener (@NotNull final MapListener listener) |
void | addCrossfireMapScrollListener (@NotNull final MapScrollListener listener) |
void | addCrossfireNewmapListener (@NotNull final NewmapListener listener) |
void | addMapSizeListener (@NotNull final MapSizeListener listener) |
void | faceUpdated (@NotNull final Face face) |
CfMap | getMap () |
int | getMapHeight () |
int | getMapWidth () |
void | magicMap (final int x, final int y, final byte @NotNull[] @NotNull[] data) |
void | mapAnimation (@NotNull final Location location, final int animationNum, final int animationType) |
void | mapAnimationSpeed (@NotNull final Location location, final int animationSpeed) |
Object | mapBegin () |
void | mapClear (final int x, final int y) |
void | mapDarkness (final int x, final int y, final int darkness) |
void | mapEnd () |
void | mapEnd (final boolean alwaysProcess) |
void | mapFace (@NotNull final Location location, final int faceNum) |
void | mapFace (@NotNull final Location location, final int faceNum, final boolean clearAnimation) |
void | mapScroll (final int dx, final int dy) |
void | mapSmooth (@NotNull final Location location, final int smooth) |
MapUpdaterState (@NotNull final FacesManager facesManager, @NotNull final Animations animations, @NotNull final CfAnimations cfAnimations) | |
void | newMap (final int mapWidth, final int mapHeight) |
void | removeCrossfireMapListener (@NotNull final MapListener listener) |
void | removeCrossfireMapScrollListener (@NotNull final MapScrollListener listener) |
void | removeCrossfireNewmapListener (@NotNull final NewmapListener listener) |
void | removeMapSizeListener (@NotNull final MapSizeListener listener) |
void | reset () |
void | tick (final int tickNo) |
Private Attributes | |
final Animations | animations |
final CfAnimations | cfAnimations |
final FacesManager | facesManager |
final CfMap | map = new CfMap() |
int | mapHeight |
final EventListenerList2< MapListener > | mapListeners = new EventListenerList2<>() |
final EventListenerList2< MapScrollListener > | mapScrollListeners = new EventListenerList2<>() |
final EventListenerList2< MapSizeListener > | mapSizeListeners = new EventListenerList2<>() |
int | mapWidth |
final EventListenerList2< NewmapListener > | newmapListeners = new EventListenerList2<>() |
final Collection< Location > | outOfViewMultiFaces = new HashSet<>() |
final Object | sync = new Object() |
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 49 of file MapUpdaterState.java.
com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState | ( | @NotNull final FacesManager | facesManager, |
@NotNull final Animations | animations, | ||
@NotNull final CfAnimations | cfAnimations | ||
) |
Creates a new instance.
facesManager | the faces manager to track for updated faces |
animations | the known animations |
cfAnimations | the animations manager to use |
Definition at line 127 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.animations, com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.MapUpdaterState.facesManager, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapBegin(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), and com.realtime.crossfire.jxclient.map.CfAnimations.setMapListener().
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 157 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapListeners.
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 189 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScrollListeners.
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.MapScrollSkinEvent(), and com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.run().
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 173 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.newmapListeners.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.run().
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 205 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapSizeListeners.
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 366 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 406 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.cmdRequest(), com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.mapScroll(), com.realtime.crossfire.jxclient.gui.map.GUIMiniMap.markPlayer(), com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.newmap(), 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 424 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.cmdRequest(), and com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.commandSentMap().
int com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapWidth | ( | ) |
Returns the width of the visible map area.
Definition at line 414 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, and com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth.
Referenced by com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.cmdRequest(), and com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.commandSentMap().
void com.realtime.crossfire.jxclient.map.MapUpdaterState.magicMap | ( | final int | x, |
final int | y, | ||
final 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 |
Implements com.realtime.crossfire.jxclient.server.crossfire.CrossfireUpdateMapListener.
Definition at line 311 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfMap.setMagicMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 274 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.animations, com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.animations.Animations.get(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfAnimations.mapAdd(), com.realtime.crossfire.jxclient.map.CfMap.setFace(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 289 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.CfAnimations.mapUpdateSpeed(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 228 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.MapUpdaterState.MapUpdaterState(), com.realtime.crossfire.jxclient.scripts.TestScriptProcess.readFromScript(), 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 233 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.CfMap.clearSquare(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfAnimations.mapRemove(), com.realtime.crossfire.jxclient.map.MapUpdaterState.outOfViewMultiFaces, and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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, com.realtime.crossfire.jxclient.map.CfMap.setDarkness(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 319 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState(), com.realtime.crossfire.jxclient.scripts.TestScriptProcess.readFromScript(), 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 329 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.CfMap.getDirtyMapSquares(), com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapListeners, and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 243 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState(), 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 253 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.MapUpdaterState.facesManager, 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.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.CfAnimations.mapRemove(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, com.realtime.crossfire.jxclient.map.MapUpdaterState.outOfViewMultiFaces, com.realtime.crossfire.jxclient.map.CfMap.setFace(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 344 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfAnimations.mapClear(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.CfAnimations.mapRemove(), com.realtime.crossfire.jxclient.map.CfAnimations.mapScroll(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScrollListeners, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, com.realtime.crossfire.jxclient.map.MapUpdaterState.outOfViewMultiFaces, com.realtime.crossfire.jxclient.map.CfMap.processMapScroll(), com.realtime.crossfire.jxclient.map.CfMap.setFace(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
Referenced by com.realtime.crossfire.jxclient.scripts.TestScriptProcess.readFromScript(), and 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 295 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.CfMap.setSmooth(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
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 377 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.MapUpdaterState.map, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.CfAnimations.mapSetSize(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapSizeListeners, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, com.realtime.crossfire.jxclient.map.MapUpdaterState.newmapListeners, com.realtime.crossfire.jxclient.map.CfMap.reset(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.sync.
Referenced by com.realtime.crossfire.jxclient.scripts.TestScriptProcess.newTestScriptProcess(), com.realtime.crossfire.jxclient.scripts.TestScriptProcess.readFromScript(), 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 165 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapListeners.
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 197 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScrollListeners.
Referenced by com.realtime.crossfire.jxclient.skin.events.MapScrollSkinEvent.dispose(), com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose(), and com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.run().
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 181 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.newmapListeners.
Referenced by com.realtime.crossfire.jxclient.gui.map.AbstractGUIMap.dispose(), and com.realtime.crossfire.jxclient.scripts.AbstractScriptProcess.run().
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 213 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapSizeListeners.
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 220 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.mapHeight, com.realtime.crossfire.jxclient.map.MapUpdaterState.mapWidth, 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 431 of file MapUpdaterState.java.
References com.realtime.crossfire.jxclient.map.MapUpdaterState.cfAnimations, com.realtime.crossfire.jxclient.map.MapUpdaterState.sync, and com.realtime.crossfire.jxclient.map.CfAnimations.tick().
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterStateTest.testDisplayArtifacts1().
|
private |
The defined animations.
Definition at line 67 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimation(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState().
|
private |
The animations in the visible map area.
Definition at line 73 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimation(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimationSpeed(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapClear(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll(), com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.tick().
|
private |
The FacesManager to track for updated faces.
Definition at line 61 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.MapUpdaterState().
The current CfMap instance.
Definition at line 89 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.getMapHeight(), com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapWidth(), 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 83 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.faceUpdated(), com.realtime.crossfire.jxclient.map.MapUpdaterState.getMapHeight(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.reset().
|
private |
The listeners to notify about changed map squares.
Definition at line 95 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireMapListener(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapEnd(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireMapListener().
|
private |
The listeners to notify about scrolled maps.
Definition at line 107 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireMapScrollListener(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireMapScrollListener().
|
private |
The MapSizeListeners to be notified.
Definition at line 113 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.addMapSizeListener(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.removeMapSizeListener().
|
private |
The width 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.getMapWidth(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.reset().
|
private |
The listeners to notify about cleared maps.
Definition at line 101 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.addCrossfireNewmapListener(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.removeCrossfireNewmapListener().
|
private |
All multi-tiled faces with heads outside the visible map area.
Definition at line 119 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.mapClear(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapFace(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.mapScroll().
|
private |
The object used for synchronization.
Definition at line 55 of file MapUpdaterState.java.
Referenced by com.realtime.crossfire.jxclient.map.MapUpdaterState.magicMap(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimation(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapAnimationSpeed(), com.realtime.crossfire.jxclient.map.MapUpdaterState.mapBegin(), 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(), com.realtime.crossfire.jxclient.map.MapUpdaterState.newMap(), com.realtime.crossfire.jxclient.map.MapUpdaterState.reset(), and com.realtime.crossfire.jxclient.map.MapUpdaterState.tick().