public void drawArea(Graphics2D g) //used in the paint function, draws the walls for the areas
    {
    		for(Tile w: area)
    		{
    			g.setPaint(w.c);
    			g.fillRect(w.x, w.y, w.width, w.height);
    		}
    		for(Tile w: player.map.map)
    		{
    			g.setPaint(w.c);
    			g.fillRect(w.x, w.y+player.map.yOffset, w.width, w.height);
    		}
    }