jfreerails.client.view
Class PlayerColors

java.lang.Object
  extended by jfreerails.client.view.PlayerColors

public class PlayerColors
extends java.lang.Object

Stores a list of colours to use to represent different players.

Author:
Luke

Field Summary
private static java.awt.Color[] colors
           
 
Constructor Summary
PlayerColors()
           
 
Method Summary
static java.awt.Color getColor(int playerNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

private static final java.awt.Color[] colors
Constructor Detail

PlayerColors

public PlayerColors()
Method Detail

getColor

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