}
protected abstract void drawElement(Graphics2D g);
protected void drawSelection(Graphics2D g) {
UnzoomGraphics t = new UnzoomGraphics(g);
double zoomFactor = t.getZoomFactor();
Graphics2D g2 = t.generateGraphics();
int width = Long.valueOf(Math.round(getWidthPixels() * zoomFactor))
.intValue();
int height = Long.valueOf(Math.round(getHeightPixels() * zoomFactor))
.intValue();
g2.translate(position.getX() * zoomFactor, position.getY() * zoomFactor);
g2.setColor(CampaignClient.getInstance().getCurrentPlayer()
.getRealColor());
g2.setStroke(new BasicStroke(5.0f));
g2.drawRect(0, 0, width, height);
t.disposeGraphics();
}