internal static Tones GetValidTone(Tones overrideTone, Tones primary, Tones secondary, Tones fallback)
 {
     if (!Tones.IsNullOrEmpty(overrideTone))
     {
         return(overrideTone);
     }
     else if (!Tones.IsNullOrEmpty(secondary))
     {
         return(secondary);
     }
     else if (!Tones.IsNullOrEmpty(primary))
     {
         return(primary);
     }
     else
     {
         return(fallback);
     }
 }
Beispiel #2
0
 public GenericToneableTattooBase(TattooSize size, Tones inkColor, bool scalesUp) : base(size, true, scalesUp)
 {
     tattooColor = Tones.IsNullOrEmpty(inkColor) ? defaultTone : inkColor;
 }