Package it.polimi.ingsw.view.model
Class Color
- java.lang.Object
-
- it.polimi.ingsw.view.model.Color
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getRawData()
Convert data to a list of string that contains a user readable information about the classString
getValue()
Get color value
-
-
-
Constructor Detail
-
Color
public Color(String color)
Color Constructor- Parameters:
color
- color value
-
-
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
-
getValue
public String getValue()
Get color value- Returns:
- color value
-
-