Updated the JavaDocs in multiple classes, to improve readability.

This commit is contained in:
Daniel Grigencha
2024-12-05 05:09:15 +01:00
parent 4fb848420b
commit e81aa67d36
3 changed files with 15 additions and 5 deletions

View File

@@ -7,7 +7,9 @@
*/
@Serializable
public class JoinedLobbyMessage extends ClientMessage {
/**
* The name of the player that is joining the server.
*/
private final String name;
/**

View File

@@ -20,6 +20,9 @@ public class RequestPlayCardMessage extends ClientMessage {
*/
private final UUID ownPieceIdentifier;
/**
* The identifier of the enemy piece.
*/
private final UUID enemyPieceIdentifier;
/**

View File

@@ -29,6 +29,11 @@ private SelectTSKMessage() {
color = null;
}
/**
* Gets the color associated with the TSK to be selected.
*
* @return the color associated with the TSK to be selected
*/
public Color getColor() {
return color;
}