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