|
10 | 10 | * limited to this palette. |
11 | 11 | */ |
12 | 12 | public class Color { |
| 13 | + /** |
| 14 | + * The default color for Player 1. |
| 15 | + */ |
13 | 16 | public final static Color Red = new Color(111); |
| 17 | + /** |
| 18 | + * The default color for Player 2. |
| 19 | + */ |
14 | 20 | public final static Color Blue = new Color(165); |
| 21 | + /** |
| 22 | + * The default color for Player 3. |
| 23 | + */ |
15 | 24 | public final static Color Teal = new Color(159); |
| 25 | + /** |
| 26 | + * The default color for Player 4. |
| 27 | + */ |
16 | 28 | public final static Color Purple = new Color(164); |
| 29 | + /** |
| 30 | + * The default color for Player 5. |
| 31 | + */ |
17 | 32 | public final static Color Orange = new Color(156); |
| 33 | + /** |
| 34 | + * The default color for Player 6. |
| 35 | + */ |
18 | 36 | public final static Color Brown = new Color(19); |
| 37 | + /** |
| 38 | + * A bright white. Note that this is lighter than Player 7's white. |
| 39 | + */ |
19 | 40 | public final static Color White = new Color(255); |
| 41 | + /** |
| 42 | + * The default color for Player 8. |
| 43 | + */ |
20 | 44 | public final static Color Yellow = new Color(135); |
| 45 | + /** |
| 46 | + * The alternate color for Player 7 on Ice tilesets. |
| 47 | + */ |
21 | 48 | public final static Color Green = new Color(117); |
| 49 | + /** |
| 50 | + * The default color for Neutral (Player 12). |
| 51 | + */ |
22 | 52 | public final static Color Cyan = new Color(128); |
| 53 | + /** |
| 54 | + * The color black. |
| 55 | + */ |
23 | 56 | public final static Color Black = new Color(0); |
| 57 | + /** |
| 58 | + * The color grey. |
| 59 | + */ |
24 | 60 | public final static Color Grey = new Color(74); |
25 | 61 |
|
26 | 62 | private static final RGBQUAD RGBRESERVE = new RGBQUAD(0, 0, 0, 0xFF); |
|
0 commit comments