Interface ItemLayer

  • All Superinterfaces:
    TileObject

    public interface ItemLayer
    extends TileObject
    Represents a pile of items held by a tile.
    • Method Detail

      • getHeight

        int getHeight()
        Gets the height of the layer.
        Returns:
        the height
      • getBottom

        Renderable getBottom()
        Gets the item at the bottom of the pile.
        Returns:
        the bottom item
      • getMiddle

        Renderable getMiddle()
        Gets the item at the middle of the pile.
        Returns:
        the middle item
      • getTop

        Renderable getTop()
        Gets the item at the top of the pile.
        Returns:
        the top item