Class OBrick
java.lang.Object
ru.hse.germandilio.tetris.server.bricks.OBrick
- All Implemented Interfaces:
Brick
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<boolean[][]>
Internal matrix that represents 3x3 brick.int
Number of available rotations.
-
Constructor Details
-
OBrick
public OBrick()
-
-
Method Details
-
getMatrix
Description copied from interface:Brick
Internal matrix that represents 3x3 brick. -
getRotationsCount
public int getRotationsCount()Description copied from interface:Brick
Number of available rotations.- Specified by:
getRotationsCount
in interfaceBrick
- Returns:
Integer
number.
-