Beispiel #1
0
 public void draw(Graphics2D g2) {
   if (!isDead) super.draw(g2);
   else g2.drawImage(imgExplosion.getImage(), getX(), getY(), null);
 }