@pragma('vm:prefer-inline') int? upRightNeighborTile(int idx) => hasNeighborUp(idx) && hasNeighborRight(idx) ? _data[idx - width + 1] : null;