Room(int dX, int dY, String shape){
		if (shape == "square"){
			dimX = dX;
			dimY = dY;
			grid = new Tile[dimX][dimY];
			for (int i = 1; i < dimX-1; i++){
				grid[i][0] = new Tile(i, 0, EWWALL);
				grid[i][dimY-1] = new Tile(i, dimY-1, EWWALL);
			}
			for (int j = 1; j < dimY-1; j++){
				grid[0][j] = new Tile(0, j, NSWALL);
				grid[dimX-1][j] = new Tile(dimX-1, j, NSWALL);
			}
			grid[0][0] = new Tile(0, 0, ULWALL);
			grid[dimX-1][0] = new Tile(dimX-1, 0, URWALL);
			grid[0][dimY-1] = new Tile(0, dimY-1, LLWALL);
			grid[dimX-1][dimY-1] = new Tile(dimX-1, dimY-1, LRWALL);
			
			for (int i = 1; i < dimX-1; i++){
				for (int j = 1; j < dimY-1; j++){
					grid[i][j] = new Tile(i, j, DFLOOR1);
				}
			}
		}else if (shape == "round"){
			dimX = 9;
			dimY = 9;
			grid = new Tile[dimX][dimY];
			int pattern[][] = { {VOID,VOID,ULWALL,EWWALL,EWWALL,EWWALL,URWALL,VOID,VOID}, 
								{VOID,ULWALL,LRWALL,DFLOOR1,DFLOOR1,DFLOOR1,LLWALL,URWALL,VOID}, 
								{ULWALL,LRWALL,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,LLWALL,URWALL}, 
								{NSWALL,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,NSWALL}, 
								{NSWALL,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,NSWALL}, 
								{NSWALL,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,NSWALL}, 
								{LLWALL,URWALL,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,DFLOOR1,ULWALL,LRWALL}, 
								{VOID,LLWALL,URWALL,DFLOOR1,DFLOOR1,DFLOOR1,ULWALL,LRWALL,VOID}, 
								{VOID,VOID,LLWALL,EWWALL,EWWALL,EWWALL,LRWALL,VOID,VOID} };
			for (int x = 0; x < dimX; x++){
				for (int y = 0; y < dimY; y++){
					grid[x][y] = new Tile(x,y, pattern[y][x]);
				}
			}
		}
		secret = false;
	}