@Override void draw(Graphics2D g) { if (vulnerable && vulncount / 5 % 5 == 0) { g.drawImage(curSprite, luo, (int) x, (int) y); } else { super.draw(g); } }
public void draw(Graphics2D g) { setMapPosition(); super.draw(g); }