Made the piecen color array (which is used to color the names in the

player status view) match the colors of the piecens in the image.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@524 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-12-18 13:14:58 +00:00
parent 5972527411
commit fa2a7c7105
@@ -1,5 +1,5 @@
// //
// $Id: Feature.java,v 1.4 2001/12/18 11:58:53 mdb Exp $ // $Id: Feature.java,v 1.5 2001/12/18 13:14:58 mdb Exp $
package com.threerings.venison; package com.threerings.venison;
@@ -357,11 +357,12 @@ public class Feature
/** Maps piecen color codes to colors. */ /** Maps piecen color codes to colors. */
protected static Color[] PIECEN_COLOR_MAP = { protected static Color[] PIECEN_COLOR_MAP = {
Color.red, // RED new Color(0x0246B7), // BLUE
Color.darkGray, // BLACK new Color(0x028A12), // GREEN
Color.blue, // BLUE new Color(0xF47A02), // ORANGE
Color.yellow, // YELLOW new Color(0xC20292), // MAGENTA
Color.green, // GREEN new Color(0xB90202), // RED
new Color(0xFECA11), // YELLOW
}; };
/** For rendering piecens with alpha. */ /** For rendering piecens with alpha. */