getBelowRight method

Tile getBelowRight()

Returns the tile below right

@return tile below right

Implementation

Tile getBelowRight() {
  int y = tileY + 1;
  int x = tileX + 1;
  if (y > getMaxTileNumber(zoomLevel)) {
    y = 0;
  }
  if (x > getMaxTileNumber(zoomLevel)) {
    x = 0;
  }
  return Tile(x, y, zoomLevel, indoorLevel);
}