BaseSpawnableTypeComparer

Class in ChivalrousGames.DungeonMaster / Implements : IComparer

Description

Base spawnable type comparer.

Compare
public int Compare(BaseSpawnableType type1, BaseSpawnableType type2);
Parameters
type1 BaseSpawnableType The first base spawnable type to compare
type2 BaseSpawnableType The second base spawnable type 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 type1 and type2. Simply compares the display names.