Packages that use CfMapSquare | |
---|---|
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.mapupdater |
Uses of CfMapSquare in com.realtime.crossfire.jxclient.gui.map |
---|
Methods in com.realtime.crossfire.jxclient.gui.map with parameters of type CfMapSquare | |
---|---|
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,
int x,
int y)
Redraws one square. |
private void |
AbstractGUIMap.redrawSquare(java.awt.Graphics g,
int x,
int y,
CfMapSquare mapSquare)
Redraws one layer of a square. |
Uses of CfMapSquare in com.realtime.crossfire.jxclient.map |
---|
Fields in com.realtime.crossfire.jxclient.map declared as CfMapSquare | |
---|---|
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 CfMapSquare s. |
Fields in com.realtime.crossfire.jxclient.map with type parameters of type CfMapSquare | |
---|---|
private java.util.Set<CfMapSquare> |
CfMap.dirtyMapSquares
The "dirty" map squares that have been modified. |
Methods in com.realtime.crossfire.jxclient.map that return CfMapSquare | |
---|---|
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. |
Methods in com.realtime.crossfire.jxclient.map that return types with arguments of type CfMapSquare | |
---|---|
java.util.Set<CfMapSquare> |
CfMap.getDirtyMapSquares()
Returns the dirty map squares. |
Methods in com.realtime.crossfire.jxclient.map with parameters of type CfMapSquare | |
---|---|
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. |
boolean |
CfMap.isDirty(CfMapSquare mapSquare)
Returns whether a CfMapSquare is dirty. |
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. |
Uses of CfMapSquare in com.realtime.crossfire.jxclient.mapupdater |
---|
Method parameters in com.realtime.crossfire.jxclient.mapupdater with type arguments of type CfMapSquare | |
---|---|
void |
MapListener.mapChanged(CfMap map,
java.util.Set<CfMapSquare> changedSquares)
The map has changed. |