public boolean checkCell(int dir, int[][] gameBoard){
		try {
		if (dir == 0)
			return ((!isTunnel(this.x, this.y-1)) && (gameBoard[this.x][this.y-1] != 0));
		else if (dir == 1)
			return ((!isTunnel(this.x-1, this.y)) && (gameBoard[this.x-1][this.y] != 0));
		else if (dir == 2)
			return ((!isTunnel(this.x, this.y+1)) && (gameBoard[this.x][this.y+1] != 0));
		else
			return ((!isTunnel(this.x+1, this.y)) && (gameBoard[this.x+1][this.y] != 0));
		}
		catch (Exception e){
			return false;
		}
	}