|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Map
The Map interface represents a map usable by the MapDisplay class.
| Field Summary | |
|---|---|
static int |
DISPLAY_HEIGHT
|
static int |
DISPLAY_WIDTH
|
static double |
HALF_MAP_ANGLE
|
static int |
MAP_HEIGHT
|
static int |
MAP_VIS_HEIGHT
|
static int |
MAP_VIS_WIDTH
|
static int |
MAP_WIDTH
|
static double |
PIXEL_RHO
|
static int |
SCREEN_OFFSET_X
|
static int |
SCREEN_OFFSET_Y
|
static double |
TWO_PI
|
| Method Summary | |
|---|---|
void |
drawMap(Coordinates newCenter)
Creates a 2D map at a given center point. |
Image |
getMapImage()
Gets the constructed map image. |
boolean |
isImageDone()
Checks if a requested map is complete. |
| Field Detail |
|---|
static final int DISPLAY_HEIGHT
static final int DISPLAY_WIDTH
static final int MAP_VIS_WIDTH
static final int MAP_VIS_HEIGHT
static final double HALF_MAP_ANGLE
static final int MAP_HEIGHT
static final int MAP_WIDTH
static final double PIXEL_RHO
static final double TWO_PI
static final int SCREEN_OFFSET_X
static final int SCREEN_OFFSET_Y
| Method Detail |
|---|
void drawMap(Coordinates newCenter)
newCenter - the new center location
Exception - if error in drawing map.boolean isImageDone()
Image getMapImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||