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 ColorBlock. getColor()Get the block colorColorPlayer. getColor()Get Player's colorstatic ColorColor. strConverter(String input)static ColorColor. 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 voidGame. setColor(Color color)Set color for current playervoidPlayer. 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
-