code: private void updateTile(Collection<Tile> resolved, Collection<Tile> toResolve, Tile tile, int ox, int oy)
      {
          final int tx = tile.getInTileX();
          final int ty = tile.getInTileY();
  
          final Tile neighbor = map.getTile(tx + ox, ty + oy);
          if (neighbor != null)
          {
              updateNeigbor(resolved, toResolve, tile, neighbor, ox, oy);
          }
      }
docs: Update tile.
  
  @param resolved The resolved tiles.
  @param toResolve Tiles to resolve after.
  @param tile The tile reference.
  @param ox The horizontal offset to update.
  @param oy The vertical offset to update.