private void checkForPlayer()
	{
		int playerX = DungeonGame.mainPanel.panel.player.getX();
		int playerY = DungeonGame.mainPanel.panel.player.getY();

		if(direction.equals("U"))
		{
			if(playerX < (x + 50) && playerX > (x - 50) && playerY < (y + 100) && playerY > (y - 500))
			{
				aware = true;
			}
		}
		if(direction.equals("D"))
		{
			if(playerX < (x + 50) && playerX > (x - 50) && playerY < (y + 500) && playerY > (y - 100))
			{
				aware = true;

			}
		}
		if(direction.equals("L"))
		{
			if(playerX < (x + 100) && playerX > (x - 500) && playerY < (y + 50) && playerY > (y - 50))
			{
				aware = true;
			}
		}
		if(direction.equals("R"))
		{
			if(playerX < (x + 500) && playerX > (x - 100) && playerY < (y + 50) && playerY > (y - 50))
			{
				aware = true;
			}
		}
	}