Interface Tile

All Superinterfaces:
Comparable<Tile>
All Known Subinterfaces:
CompressedTile, RasterTile
All Known Implementing Classes:
AbstractTile, PNGTile, SingleTile

public interface Tile extends Comparable<Tile>
An interface for Tile images.
Since:
11.3
Version:
11.3
Author:
Luke
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default tile height in pixels.
    static final int
    Default tile width in pixels.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Tile address.
    Returns the Tile name
    void
    Sets the tile image.

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Field Details

  • Method Details

    • getAddress

      TileAddress getAddress()
      Returns the Tile address.
      Returns:
      the address
    • getName

      String getName()
      Returns the Tile name
      Returns:
      the name
    • setImage

      void setImage(BufferedImage img)
      Sets the tile image.
      Parameters:
      img - the rendered image