set default color of pieces
This commit is contained in:
parent
c68e680768
commit
4583bbd7e6
@ -19,7 +19,7 @@ public class GameUI extends BorderPane {
|
||||
pieces.setSpacing(10);
|
||||
for (Piece p : level.getPieces()) {
|
||||
MatrixShape _piece = new MatrixShape(p);
|
||||
_piece.setColor(Color.RED); // TODO: Change with piece color
|
||||
_piece.setColor(p.getColor());
|
||||
pieces.getChildren().add(_piece);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user