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.
|
Modifier and Type | Field and Description |
---|---|
private CfMapSquare[][] |
SmoothingRenderer.layerNode
Surrounding
CfMapSquare map squares} having non-zero smooth
levels. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractGUIMap.paintSquareBackground(java.awt.Graphics g,
int px,
int py,
boolean hasImage,
CfMapSquare mapSquare)
Paints the background of a map square.
|
protected void |
GUIMiniMap.paintSquareBackground(java.awt.Graphics g,
int px,
int py,
boolean hasImage,
CfMapSquare mapSquare)
Paints the background of a map square.
|
protected void |
GUIMap.paintSquareBackground(java.awt.Graphics g,
int px,
int py,
boolean hasImage,
CfMapSquare mapSquare)
Paints the background of a map square.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private CfMapSquare[] |
CfMapSquare.heads
If this square contains a non-head part of a multi-square object this
points to the head square.
|
private CfMapSquare[][] |
CfMapPatch.square
The array of
CfMapSquares . |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<CfMapSquare> |
CfMap.dirtyMapSquares
The "dirty" map squares that have been modified.
|
private java.util.Map<java.lang.Integer,java.util.Collection<CfMapSquare>> |
CfMap.pendingFaceSquares
The map squares containing pending faces.
|
Modifier and Type | Method and Description |
---|---|
CfMapSquare |
CfMapSquare.getHeadMapSquare(int layer)
Returns the map square of the head of a multi-square object.
|
CfMapSquare |
CfMapPatch.getHeadMapSquare(int x,
int y,
int layer)
Returns the map square of the head of a multi-square object.
|
CfMapSquare |
CfMap.getHeadMapSquare(int x,
int y,
int layer)
Returns the map square of the head of a multi-square object.
|
CfMapSquare |
CfMap.getMapSquare(int x,
int y)
Returns a map square.
|
CfMapSquare |
CfMap.getMapSquareUnlessDirty(int x,
int y)
Returns a map square.
|
CfMapSquare |
CfMapPatch.getSquare(int x,
int y)
Returns one map square.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<CfMapSquare> |
CfMap.getDirtyMapSquares()
Returns the dirty map squares.
|
Modifier and Type | Method and Description |
---|---|
private void |
CfMap.expandFace(int x,
int y,
int layer,
Face face,
CfMapSquare oldMapSquare,
CfMapSquare newMapSquare)
Adds or removes "head" pointer to/from tail-parts of a face.
|
void |
CfMapSquare.setHeadMapSquare(int layer,
CfMapSquare mapSquare,
boolean setAlways)
Sets the map square containing the head face for a layer.
|
void |
CfMapPatch.setHeadMapSquare(int x,
int y,
int layer,
CfMapSquare mapSquare,
boolean setAlways)
Sets the map square containing the head face for a layer.
|
private void |
CfMap.setHeadMapSquare(int x,
int y,
int layer,
CfMapSquare mapSquare,
boolean setAlways)
Sets the map square containing the head face for a layer.
|
void |
CfMap.squareModified(CfMapSquare mapSquare)
Marks a
CfMapSquare as dirty. |
Modifier and Type | Method and Description |
---|---|
void |
MapListener.mapChanged(CfMap map,
java.util.Set<CfMapSquare> changedSquares)
The map has changed.
|