public void drawSprite(Graphics g) {
		if (isActive()) {
			if (image == null) { // the sprite has no image
				g.setColor(Color.yellow); // draw a yellow circle instead
				g.fillOval(locx, locy, SIZE, SIZE);
				g.setColor(Color.black);
			} else {
				if (isLooping)
					image = player.getCurrentImage();
				g.drawImage(image, locx, locy, null);
			}
		}
	} // end of drawSprite()