public void paint(Graphics g)
	{
		super.paint(g);
		Graphics2D g2d = (Graphics2D)g;
		drawArea(g2d);
		g2d.drawImage(player.makeColorTransparent(Color.white), player.x, player.y, this); //draws player;
		Toolkit.getDefaultToolkit().sync();
        g.dispose();
	}