All Known Implementing Classes:
CornerBrick, IBrick, JBrick, LBrick, OBrick, SBrick, ShortTBrick, TBrick

public interface Brick
  • Method Summary

    Modifier and Type
    Method
    Description
    List<boolean[][]>
    Internal matrix that represents 3x3 brick.
    int
    Number of available rotations.
  • Method Details

    • getMatrix

      List<boolean[][]> getMatrix()
      Internal matrix that represents 3x3 brick.
      Returns:
      List of all brick rotations.
    • getRotationsCount

      int getRotationsCount()
      Number of available rotations.
      Returns:
      Integer number.