int colIndex = (numCols + j) % numCols;
// Paint tile
Tile tile = realmMap.getTile(rowIndex, colIndex);
int x = (j - minJ) * TILE_WIDTH;
tile.paint(g, x, baseY);
// Paint thing if it's occluded by subsequent tile roles
Thing thing = realmMap.getThing(rowIndex, colIndex);
if (thing != null && thing.isOccludedByTerrain()) {
int y = baseY - 65 + tile.getHeight();