feat: preview of next shape
This commit is contained in:
@@ -41,8 +41,17 @@ public enum TetrominoShape {
|
||||
|
||||
final int[][] boundary;
|
||||
final Color color;
|
||||
|
||||
TetrominoShape(int[][] boundary, Color color) {
|
||||
this.boundary = boundary;
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public int[][] getBoundary() {
|
||||
return boundary;
|
||||
}
|
||||
|
||||
public Color getColor() {
|
||||
return color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user