public int CompareTo(Combatant other) { if (Initiative != other.Initiative) { return(Initiative.CompareTo(other.Initiative)); } // If it comes down to a tiebreaker, order by ascending return(TieBreaker.CompareTo(other.TieBreaker) * -1); }
public int CompareTo(Combatant other) { if (Initiative != other.Initiative) { return(Initiative.CompareTo(other.Initiative)); } // If it comes down to a tiebreaker, order by ascending return(TieBreaker.CompareTo(other.TieBreaker) * -1); }