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 d07eee6251 - Show all commits

View File

@@ -121,4 +121,14 @@ public Color getColor() {
public UUID getUuid() {
return uuid;
}
/**
* This method will return all necessary information of Piece class in a more readable way.
*
* @return information as a String.
*/
@Override
public String toString() {
return "Piece with UUID: %s and color: %s with state: %s".formatted(this.uuid, color, state);
}
}