Beispiel #1
0
 public void InitializeColors(ARKColors arkColors)
 {
     for (int i = 0; i < COLOR_REGION_COUNT; i++)
     {
         colors[i]?.Initialize(arkColors);
     }
 }
Beispiel #2
0
 public void InitializeColors(ARKColors arkColors)
 {
     for (int i = 0; i < ColorRegionCount; i++)
     {
         colors[i]?.Initialize(arkColors);
     }
 }
Beispiel #3
0
 /// <summary>
 /// Sets the ARKColor objects
 /// </summary>
 internal void Initialize(ARKColors arkColors)
 {
     if (colors == null)
     {
         return;
     }
     naturalColors = new List <ArkColor>();
     foreach (var c in colors)
     {
         ArkColor cl = arkColors.ByName(c);
         if (cl.Hash != 0 && !naturalColors.Contains(cl))
         {
             naturalColors.Add(cl);
         }
     }
 }