megamek.client.ui.swing.util
Class PlayerColors

java.lang.Object
  extended by megamek.client.ui.swing.util.PlayerColors

public class PlayerColors
extends java.lang.Object


Field Summary
static java.lang.String[] colorNames
           
protected static int[] colorRGBs
           
 
Constructor Summary
PlayerColors()
           
 
Method Summary
static java.awt.Color getColor(int colorIndex)
           
static int getColorRGB(int colorIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colorNames

public static final java.lang.String[] colorNames

colorRGBs

protected static final int[] colorRGBs
Constructor Detail

PlayerColors

public PlayerColors()
Method Detail

getColor

public static java.awt.Color getColor(int colorIndex)

getColorRGB

public static int getColorRGB(int colorIndex)