Interface BoardCell

  • All Known Implementing Classes:
    EmptyBoardCell, FilledBoardCell

    public interface BoardCell
    Stores information about a cell that is needed by the board to work.
    • Method Summary

      Modifier and Type Method Description
      boolean isEmpty()
      Tells whether this cell is empty or not.
    • Method Detail

      • isEmpty

        boolean isEmpty()
        Tells whether this cell is empty or not.
        Returns:
        True when this cell doesn't contain a tetromino part, false otherwise.