Adding Color to pieces #31

Merged
tonitch merged 2 commits from Pieces_Color into master 2023-05-03 17:27:11 +02:00
Showing only changes of commit 7b8cacdb2a - Show all commits

View File

@ -15,7 +15,7 @@ public class Piece extends Shape{
private Vec2 Position;
private Map linked_map;
private Paint color;
private transient Paint color; // https://www.baeldung.com/java-transient-keyword
public Piece(boolean[][] matrix) {
super(matrix);