Updated the JavaDocs in multiple classes, to improve readability.
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
*/
|
||||
@Serializable
|
||||
public class JoinedLobbyMessage extends ClientMessage {
|
||||
|
||||
/**
|
||||
* The name of the player that is joining the server.
|
||||
*/
|
||||
private final String name;
|
||||
|
||||
/**
|
||||
|
||||
@@ -20,6 +20,9 @@ public class RequestPlayCardMessage extends ClientMessage {
|
||||
*/
|
||||
private final UUID ownPieceIdentifier;
|
||||
|
||||
/**
|
||||
* The identifier of the enemy piece.
|
||||
*/
|
||||
private final UUID enemyPieceIdentifier;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user