public void draw(Graphics g) {
// TODO: Anstatt einfachen Kreisen könnten Grafiken mit Lichtreflex etc.
// verwendet werden
switch (status) {
case STATUS_FINISHED:
GraphicUtils.draw(g, new Circle(this.position,
Parameter.CAMPAIGN_MARKER_RADIUS), Color.green);
break;
case STATUS_AVAIABLE:
GraphicUtils.draw(g, new Circle(this.position,
Parameter.CAMPAIGN_MARKER_RADIUS), Color.blue);
break;
case STATUS_NOTAVAIBLE:
default:
GraphicUtils.draw(g, new Circle(this.position,
Parameter.CAMPAIGN_MARKER_RADIUS), Color.red);
break;
}
}