@Override public void drawOn(Graphics2D g) { super.drawOn(g); g.translate(this.getPosition().getX() + 36, this.getPosition().getY() + 36); g.drawImage(image, -36, -36, 36, 36, 0, 0, image.getWidth(), image.getHeight(), null); g.translate(-this.getPosition().getX() - 36, -this.getPosition().getY() - 36); }
@Override public void die() { super.die(); this.getWorld().getBagsToClear().add(this); }