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