예제 #1
0
 public int CompareTo(TriadGameModifier otherMod)
 {
     if (otherMod != null)
     {
         string locStrA = GetLocalizedName();
         string locStrB = otherMod.GetLocalizedName();
         return(locStrA.CompareTo(locStrB));
     }
     return(0);
 }
예제 #2
0
 public override string GetLocalizedName()
 {
     return(base.GetLocalizedName() + (RuleInst != null ? (" (" + RuleInst.GetLocalizedName() + ")") : ""));
 }