Package | Description |
---|---|
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 CfMapPatch[][] |
CfMap.patch
Array of (possibly) defined squares.
|
Modifier and Type | Method and Description |
---|---|
private CfMapPatch[][] |
CfMap.copyPatches(int newWidth,
int newHeight,
int offsetX,
int offsetY,
int height,
int width)
Returns a copy of a rectangular area of
CfMap.patch . |
private CfMapPatch |
CfMap.expandTo(int x,
int y)
(Possibly) expands the defined area of the map to a given position.
|
private CfMapPatch |
CfMap.getMapPatch(int x,
int y)
Checks if a given position is within the defined map area.
|