public void setAdjacentRooms(){
		if (currentX == 0){
			if (currentY == 0){
				isDoor[0] = false;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = false;
				if (isDoor[0])
					isLocked[0] = false;
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = false;
			} else if (currentY == 14){
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = false;
				isDoor[3] = false;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = false;
				if (isDoor[3])
					isLocked[3] = false;
			} else {
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = false;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = false;
			}
		} else if (currentX == 10){
			if (currentY == 0){
				isDoor[0] = false;
				isDoor[1] = false;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = false;
				if (isDoor[1])
					isLocked[1] = false;
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			} else if (currentY == 14){
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = false;
				isDoor[2] = false;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = false;
				if (isDoor[2])
					isLocked[2] = false;
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			} else {
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = false;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = false;
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			}
		} else {
			if (currentY == 0){
				isDoor[0] = false;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = false;
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			} else if (currentY == 14){
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = false;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = false;
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			} else {
				isDoor[0] = rooms[currentY - 1][currentX] != null;
				isDoor[1] = rooms[currentY][currentX + 1] != null;
				isDoor[2] = rooms[currentY + 1][currentX] != null;
				isDoor[3] = rooms[currentY][currentX - 1] != null;
				if (isDoor[0])
					isLocked[0] = rooms[currentY - 1][currentX].isLocked();
				if (isDoor[1])
					isLocked[1] = rooms[currentY][currentX + 1].isLocked();
				if (isDoor[2])
					isLocked[2] = rooms[currentY + 1][currentX].isLocked();
				if (isDoor[3])
					isLocked[3] = rooms[currentY][currentX - 1].isLocked();
			}
		}
	}