Added border around enemies

This commit is contained in:
2015-06-11 17:15:41 +02:00
parent 5e0a7512bb
commit 22853812f3
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -70,6 +70,10 @@ public class Enemy extends DrawObject {
g2.setPaint(c);
g2.draw(enemy);
}
public void draw(Graphics2D g2, boolean b) {
g2.setPaint(c.darker().darker());
g2.draw(enemy);
}
@Override
public void update(float factor) {