Package it.polimi.ingsw.Client
Class PlayerDataModel
java.lang.Object
it.polimi.ingsw.Client.PlayerDataModel
Class to define player's data model for ScoreBoard use
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetter method for player's nicknameint
Getter method for player's points
-
Field Details
-
nickname
Player's nickname -
points
Player's points
-
-
Constructor Details
-
PlayerDataModel
Class constructor- Parameters:
nickname
- player's nicknamepoints
- player's points
-
-
Method Details
-
getNickname
Getter method for player's nickname- Returns:
- player's nickname
-
getPoints
public int getPoints()Getter method for player's points- Returns:
- player's points
-