Class Cell

  • All Implemented Interfaces:
    RawObj

    public class Cell
    extends Object
    implements RawObj
    A Stack of a cell in the Board
    • Constructor Detail

      • Cell

        public Cell​(List<Block> blocks)
        Cell Constructor
        Parameters:
        blocks - Block Stack on the Cell
    • Method Detail

      • getBlocks

        public List<Block> getBlocks()
        Get the Block Stack
        Returns:
        block stack
      • equals

        public boolean equals​(Cell b)
        verify if this cell is equals to b
        Parameters:
        b - confront cell
        Returns:
        true if this equals b else false
      • getRawData

        public List<String> getRawData()
        Description copied from interface: RawObj
        Convert data to a list of string that contains a user readable information about the class
        Specified by:
        getRawData in interface RawObj
        Returns:
        data converted into an array of string user readable information about the class