Class OverlayFloor

All Implemented Interfaces:
Comparable<Content>, Senseable
Direct Known Subclasses:
OreBlock, RemoveOre, SpawnBlock

public class OverlayFloor extends Floor
A type of floor that is overlaid on top of other floors.
  • Constructor Details

    • OverlayFloor

      public OverlayFloor(String name)
  • Method Details

    • canPlaceOn

      public boolean canPlaceOn(Tile tile, Team team, int rotation)
      Overrides:
      canPlaceOn in class Block
      Returns:
      whether this block can be placed on the specified tile.
    • drawBase

      public void drawBase(Tile tile)
      Overrides:
      drawBase in class Floor