public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		g.drawImage(sprite.getImage(), location.x - image_width / 2, location.y
				- image_height / 2, image_width, image_height, null); // center the image drawn

	}