Adding Color to pieces (#31)
continuous-integration/drone/push Build is passing

Just adding a color field to pieces for drawing later

Carefull when you review, I also moved Vec2 to Utils where I feel it belong.

Solve #29

Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Reviewed-on: #31
Reviewed-by: Mat_02 <diletomatteo@gmail.com>
This commit was merged in pull request #31.
This commit is contained in:
tonitch committed 2023-05-03 17:27:10 +02:00
1 parent c6df656381
commit 72dcbcbf4f
2 files changed
+18 -5

No files matched your search

@@ -36,7 +36,7 @@ class PieceTest {
{true, false, true},
};
Piece piece1 = new Piece();
Piece piece1 = new Piece(piece2_matrix);
piece1.setShape(piece1_matrix);
Piece piece2 = new Piece(piece2_matrix);