|
||||||||||
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
|
Method Summary | |
---|---|
void |
drawMap(Coordinates newCenter)
Creates a 2D map at a given center point. |
java.awt.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
Method Detail |
---|
void drawMap(Coordinates newCenter) throws java.lang.Exception
newCenter
- the new center location
java.lang.Exception
- if error in drawing map.boolean isImageDone()
java.awt.Image getMapImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |