JourneyCandidateComparerFULL version only

Class in ChivalrousGames.DungeonMaster / Implements : IComparer

Description

Journey candidates comparer.

Compare
public int Compare(JourneyCandidate candidate1, JourneyCandidate candidate2);
Parameters
candidate1 JourneyCandidate The first journey candidate to compare
candidate2 JourneyCandidate The second journey candidate to compare
Return
int A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the value parameter.
Description

Compare the specified candidate1 and candidate2. Prioritizes Connectors over Spawnables (alphabetically, C comes before S). Prioritizes Incomplete Spawnables over Completed ones (because incomplete spawnables are more relevant)