Package it.polimi.ingsw.view.model
Class Player
- java.lang.Object
-
- it.polimi.ingsw.view.model.Player
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColor()
Get player's colorString
getGod()
Get player's godList<String>
getRawData()
Convert data to a list of string that contains a user readable information about the classString
getStatus()
Get player's statusString
getUsername()
Get player's usernameint
getWorkers()
Get player's remaining number of workers
-
-
-
Method Detail
-
getRawData
public List<String> getRawData()
Description copied from interface:RawObj
Convert data to a list of string that contains a user readable information about the class- Specified by:
getRawData
in interfaceRawObj
- Returns:
- data converted into an array of string user readable information about the class
-
getUsername
public String getUsername()
Get player's username- Returns:
- player's username
-
getStatus
public String getStatus()
Get player's status- Returns:
- player status
-
getColor
public String getColor()
Get player's color- Returns:
- player's color
-
getGod
public String getGod()
Get player's god- Returns:
- player's god
-
getWorkers
public int getWorkers()
Get player's remaining number of workers- Returns:
- number of remaining workers
-
-