getBelowLeft method

Tile getBelowLeft()

Returns the tile below left

@return tile below left

Implementation

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