public static bool Equals(RacialPair first, RacialPair second)
 {
     if (first.Tier == second.Tier)
     {
         if (first.Pairing == second.Pairing)
         {
             if (first.PairingName == second.PairingName)
             {
                 return(true);
             }
         }
     }
     return(false);
 }
 /// <summary>
 /// Set and return the Active battlefront pair.
 /// </summary>
 /// <returns></returns>
 public RacialPair SetActivePairing(RacialPair newActivePair)
 {
     ActiveRacialPair = newActivePair;
     return(newActivePair);
 }
 /// <summary>
 /// Set the Active Pairing to be null. Not expected to be needed.
 /// </summary>
 public void ResetActivePairings()
 {
     ActiveRacialPair = null;
 }
Пример #4
0
 public LowerTierBattlefrontManager()
 {
     RacialPairManager = new LowerTierRacialPairManager();
     ActiveRacialPair  = SetInitialPairActive();
 }