edu.isi.gamebots.client
Class GamebotsConstants.TeamColorMap

java.lang.Object
  |
  +--edu.isi.gamebots.client.GamebotsConstants.TeamColorMap
Enclosing class:
GamebotsConstants

public abstract static class GamebotsConstants.TeamColorMap
extends Object

The following is a means for constants (liek Team IDs) to be mapped to useful objects.


Constructor Summary
GamebotsConstants.TeamColorMap()
           
 
Method Summary
static Color teamToColor(int id)
           
static String teamToName(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GamebotsConstants.TeamColorMap

public GamebotsConstants.TeamColorMap()
Method Detail

teamToName

public static String teamToName(int id)

teamToColor

public static Color teamToColor(int id)