Uses of Class
it.polimi.ingsw.model.Color
-
Packages that use Color Package Description it.polimi.ingsw.model This package contains classes used in the Server Side to manage the State of a Game. -
-
Uses of Color in it.polimi.ingsw.model
Methods in it.polimi.ingsw.model that return Color Modifier and Type Method Description Color
Block. getColor()
Get the block colorColor
Player. getColor()
Get Player's colorstatic Color
Color. strConverter(String input)
static Color
Color. valueOf(String name)
Returns the enum constant of this type with the specified name.static Color[]
Color. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in it.polimi.ingsw.model that return types with arguments of type Color Modifier and Type Method Description List<Color>
Game. getColors()
Get available colors to pickMethods in it.polimi.ingsw.model with parameters of type Color Modifier and Type Method Description void
Game. setColor(Color color)
Set color for current playervoid
Player. setColor(Color color)
Set player colorConstructors in it.polimi.ingsw.model with parameters of type Color Constructor Description Block(TypeBlock typeBlock, String owner, Color color)
Create a Block instance of a specific typeBlock, owner and color
-