Package | Description |
---|---|
com.realtime.crossfire.jxclient.gui.map | |
com.realtime.crossfire.jxclient.map |
Implements the map model which is shown in the map and magic map views.
|
com.realtime.crossfire.jxclient.scripts |
Modifier and Type | Method and Description |
---|---|
private java.awt.Graphics2D |
AbstractGUIMap.createBufferGraphics(CfMap map)
Returns a
Graphics instance for painting into AbstractGUIMap.bufferedImage . |
void |
SmoothingRenderer.paintSmooth(java.awt.Graphics graphics,
int x,
int y,
int px,
int py,
int layer,
CfMap map,
int tileSize)
Draw the smoothing information at given position of map, for a given
limit smoothlevel, at a given layer.
|
private void |
AbstractGUIMap.redrawAllUnlessDirty(java.awt.Graphics g,
CfMap map)
Redraws all non-dirty tiles.
|
protected void |
AbstractGUIMap.redrawSquare(java.awt.Graphics g,
CfMapSquare mapSquare,
CfMap map,
int x,
int y)
Redraws one square.
|
private void |
AbstractGUIMap.redrawSquare(java.awt.Graphics g,
int x,
int y,
CfMapSquare mapSquare,
CfMap map)
Redraws one layer of a square.
|
private void |
AbstractGUIMap.redrawSquareUnlessDirty(java.awt.Graphics g,
CfMap map,
int x,
int y)
Redraws one square if it is not dirty.
|
private void |
AbstractGUIMap.redrawTiles(java.awt.Graphics g,
CfMap map,
int x0,
int y0,
int x1,
int y1)
Redraws a rectangular area of tiles.
|
private void |
AbstractGUIMap.redrawTilesUnlessDirty(java.awt.Graphics g,
CfMap map,
int x0,
int y0,
int x1,
int y1)
Redraws a rectangular area of non-dirty tiles.
|
private void |
AbstractGUIMap.updateScrolledMap(java.awt.Graphics g,
CfMap map,
int dx,
int dy)
Updates the map display after the map contents have scrolled.
|
Modifier and Type | Field and Description |
---|---|
private CfMap |
MapUpdaterState.map
The current
CfMap instance. |
private CfMap |
CfMapSquare.map
The
CfMap this map square is part of. |
Modifier and Type | Method and Description |
---|---|
CfMap |
MapUpdaterState.getMap()
Returns the current map instance.
|
Modifier and Type | Method and Description |
---|---|
void |
MapListener.mapChanged(CfMap map,
java.util.Set<CfMapSquare> changedSquares)
The map has changed.
|
Constructor and Description |
---|
CfMapPatch(CfMap map,
int x0,
int y0)
Creates a new (empty) patch.
|
CfMapSquare(CfMap map,
int x,
int y)
Creates a new (empty) square.
|
Modifier and Type | Method and Description |
---|---|
private void |
DefaultScriptProcess.commandSentMap(CfMap map,
int x,
int y)
Sends info about one map cell to the script process.
|