All Implemented Interfaces:
Tile

public class Empty extends AbstractTile
A class representing an empty INVENTORY tile. The name can be confusing, but this tile is only to be used to draw the empty inventory tiles in the game.
  • Constructor Details

    • Empty

      public Empty(TileInfo info)
      Create empty(INVENTORY ONLY) tile.
      Parameters:
      info - tile information
  • Method Details

    • type

      public TileType type()
      Description copied from interface: Tile
      Each tile object will hold a reference to one TileState enum, which determines the behaviour of a number of the tiles important methods.
      Returns:
      the enum type of this tile, if custom tile then TileType.Other is returned.