public void paintRoom(Graphics g)
	{
		g.setColor(Color.black);
		g.fillRect(0, 0, 700, 700);
		g.drawImage(background,50,25,DungeonGame.mainPanel.panel);
		g.setColor(Color.white);
		g.drawString(roomName, 100, 50);

		if(exitUp == true)
		{
			g.drawImage(exitUpImage,50,25,DungeonGame.mainPanel.panel);
		}
		if(exitDown == true)
		{
			g.drawImage(exitDownImage,50,25,DungeonGame.mainPanel.panel);
		}
		if(exitLeft == true)
		{
			g.drawImage(exitLeftImage,50,25,DungeonGame.mainPanel.panel);
		}
		if(exitRight == true)
		{
			g.drawImage(exitRightImage,50,25,DungeonGame.mainPanel.panel);
		}

		int playerX = DungeonGame.mainPanel.panel.player.x;
		int playerY = DungeonGame.mainPanel.panel.player.y;
		//System.out.println(playerX + "," + playerY);
		
		if(exitLeft == true && playerX < 95 && playerY > 325 && playerY < 455)
		{
			
			DungeonGame.mainPanel.panel.player.x = 555;
			DungeonGame.mainPanel.panel.player.direction = "L";
			roomX--;
			DungeonGame.mainPanel.panel.newRoom = true;
			DungeonGame.mainPanel.panel.fadeActive = true;
		}
		else if(exitRight == true && playerX > 555 && playerY > 325 && playerY < 455)
		{
			DungeonGame.mainPanel.panel.player.x = 95;
			DungeonGame.mainPanel.panel.player.direction = "R";
			roomX++;
			DungeonGame.mainPanel.panel.newRoom = true;
			DungeonGame.mainPanel.panel.fadeActive = true;
		}
		else if(exitDown == true && playerY > 520 && playerX > 240 && playerX < 525)
		{
			DungeonGame.mainPanel.panel.player.y = 196;
			DungeonGame.mainPanel.panel.player.direction = "D";
			roomY--;
			DungeonGame.mainPanel.panel.newRoom = true;
			DungeonGame.mainPanel.panel.fadeActive = true;
		}
		else if(exitUp == true && playerY < 196 && playerX > 275 && playerX < 400)
		{
			DungeonGame.mainPanel.panel.player.y = 519;
			DungeonGame.mainPanel.panel.player.direction = "U";
			roomY++;
			DungeonGame.mainPanel.panel.newRoom = true;
			DungeonGame.mainPanel.panel.fadeActive = true;
		}
	}