Class Tile

    • Field Summary

      Fields

      Modifier and Type Field and Description
      static int SIZE
      The size of a tile.
    • Constructor Summary

      Constructors

      Constructor and Description
      Tile(int zoom, int tx, int ty)
      Default constructor.
    • Field Detail

      • SIZE

        public static int SIZE
        The size of a tile.
    • Constructor Detail

      • Tile

        public Tile(int zoom,
                    int tx,
                    int ty)
        Default constructor.
        Parameters:
        zoom - the zoom level.
        tx - the x coordinate.
        ty - the y coordinate.
    • Method Detail

      • hashCode

        public int hashCode()
      • equals

        public boolean equals(Object o)
      • getZoom

        public int getZoom()
        Returns:
        the zoom level.
      • getTx

        public int getTx()
        Returns:
        the x number of this tile.
      • getTy

        public int getTy()
        Returns:
        the y number of this tile