public class NPCComparator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<NPC> |
healthComparator
Sorts the NPC collection from least to greatest getHealth() values.
|
static java.util.Comparator<NPC> |
levelComparator
Sorts the NPC collection from least to greatest getLevel() values.
|
static java.util.Comparator<NPC> |
nameComparator
Sorts the NPC collection in alphabetical order values.
|
static java.util.Comparator<NPC> |
vertexComparator
Sorts the NPC collection from least to greatest getVerticesCount() values.
|
Constructor and Description |
---|
NPCComparator() |
public static java.util.Comparator<NPC> vertexComparator
public static java.util.Comparator<NPC> levelComparator
public static java.util.Comparator<NPC> healthComparator
public static java.util.Comparator<NPC> nameComparator