Package it.polimi.ingsw.view.model
Class Block
- java.lang.Object
-
- it.polimi.ingsw.view.model.Block
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColor()
Get block colorString
getOwner()
Get block ownerList<String>
getRawData()
Convert data to a list of string that contains a user readable information about the classString
getTypeBlock()
Get block type
-
-
-
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
-
getTypeBlock
public String getTypeBlock()
Get block type- Returns:
- block type
-
getOwner
public String getOwner()
Get block owner- Returns:
- block owner, if it is not a worker is null
-
getColor
public String getColor()
Get block color- Returns:
- block color, if it is not a worker is null
-
-