getBelow method

Tile getBelow()

Returns the tile below this tile.

@return tile below

Implementation

Tile getBelow() {
  int y = tileY + 1;
  if (y > getMaxTileNumber(this.zoomLevel)) {
    y = 0;
  }
  return new Tile(this.tileX, y, this.zoomLevel, this.indoorLevel);
}