Version 1.0 #40

Merged
j23f0779 merged 947 commits from development2 into main 2024-12-13 10:26:49 +01:00
Showing only changes of commit 5b9bc7aa36 - Show all commits

View File

@@ -35,12 +35,15 @@ public class Piece {
* @param color the color of the piece
* @param state the state of the piece
*/
public Piece(Color color, PieceState state, int id) {
public Piece(Color color, PieceState state) {
this.color = color;
this.state = state;
shield = ShieldState.NONE;
}
/**
* Constructor.
*/
private Piece() {
color = Color.NONE;
state = PieceState.WAITING;