Interface TileProvider


  • public interface TileProvider
    Interface implemented by scripted tiles in tile sets.
    Since:
    3.0
    Author:
    Chris Jennings
    See Also:
    TileSet
    • Method Detail

      • createTileImage

        java.awt.image.BufferedImage createTileImage​(Tile tile)
        Creates an new image and paints the current tile content on it.
        Parameters:
        tile - the tile being painted
        Returns:
        an image of the tile content; it must have the same resolution as that specified by the tile's tile set entry