static public playercolor get(int i) { if (_color[i] == null) { _color[i] = new playercolor(); } return(_color[i]); }
public static void SetUnitColor(unit whichUnit, playercolor whichColor) { whichUnit.color = whichColor; }