public class SmartiesColors extends Object
Color c = SmartiesColors.getPuckColorById(id);
Modifier and Type | Method and Description |
---|---|
static Color |
getPuckColorById(int id)
return the color of the puck with identifier id.
|
static int |
getSmartieIntRGBColor(int id)
return the default color of the puck with identifier id as an int.
|
public static Color getPuckColorById(int id)
id
- SmartiesPuck
puck indentifierpublic static int getSmartieIntRGBColor(int id)
id
- SmartiesPuck
puck indentifierCopyright © 2017. All rights reserved.