// draw tile borders, first province borders
for (ScreenPosition r : fulldrawn) {
// draw tile border
g2d.setColor(Color.white);
TilesBorder border = scenario.getBorder(r.p, TilesTransition.East);
if (border == TilesBorder.Province) {
// right border
drawBorder(g2d, border, r.x + tileSize.width, r.y, r.x + tileSize.width, r.y + tileSize.height);
}
border = scenario.getBorder(r.p, TilesTransition.SouthEast);
if (border == TilesBorder.Province) {
// lower right side
drawBorder(g2d, border, r.x + tileSize.width / 2, r.y + tileSize.height, r.x + tileSize.width, r.y + tileSize.height);
}
border = scenario.getBorder(r.p, TilesTransition.SouthWest);
if (border == TilesBorder.Province) {
// lower right side
drawBorder(g2d, border, r.x, r.y + tileSize.height, r.x + tileSize.width / 2, r.y + tileSize.height);
}
}
// draw tile borders, then nation borders
for (ScreenPosition r : fulldrawn) {
// draw tile border
g2d.setColor(Color.white);
TilesBorder border = scenario.getBorder(r.p, TilesTransition.East);
if (border == TilesBorder.Nation) {
// right border
drawBorder(g2d, border, r.x + tileSize.width, r.y, r.x + tileSize.width, r.y + tileSize.height);
}
border = scenario.getBorder(r.p, TilesTransition.SouthEast);