All Implemented Interfaces:
Tile

public class Floor extends AbstractTile
A class representing an empty floor tile, which both hero and enemy can move onto.
  • Constructor Details

    • Floor

      public Floor(TileInfo info)
      Create a floor 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.