Package com.fyp.tauceti.entity
Class Player
java.lang.Object
com.fyp.tauceti.entity.Player
The Player entity maps to the PLAYER database table
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the players display namegetId()
void
setDisplayName
(String displayName) Set the players display namevoid
toString()
Returns all information about a player as a string
-
Constructor Details
-
Player
public Player()Default constructor -
Player
Parameterised constructor- Parameters:
id
- A unique ID for the primary keydisplayName
- the player name in game
-
-
Method Details