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