|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SettlementMapLayer
An interface for a display layer on the settlement map.
| Method Summary | |
|---|---|
void |
destroy()
Destroy the map layer. |
void |
displayLayer(Graphics2D g2d,
Settlement settlement,
double xPos,
double yPos,
int mapWidth,
int mapHeight,
double rotation,
double scale)
Displays the settlement map layer. |
| Method Detail |
|---|
void displayLayer(Graphics2D g2d,
Settlement settlement,
double xPos,
double yPos,
int mapWidth,
int mapHeight,
double rotation,
double scale)
g2d - the graphics context.settlement - the settlement to display.xPos - the X center position.yPos - the Y center position.mapWidth - the width of the map.mapHeight - the height of the map.rotation - the rotation (radians)scale - the map scale.void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||