public class PlayerPositionComparator extends Object implements Comparator
Constructor and Description |
---|
PlayerPositionComparator(ChunkCoordinates par1ChunkCoordinates) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object par1Obj,
Object par2Obj) |
int |
comparePlayers(EntityPlayerMP par1EntityPlayerMP,
EntityPlayerMP par2EntityPlayerMP)
Compare the position of two players.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public PlayerPositionComparator(ChunkCoordinates par1ChunkCoordinates)
public int comparePlayers(EntityPlayerMP par1EntityPlayerMP, EntityPlayerMP par2EntityPlayerMP)
public int compare(Object par1Obj, Object par2Obj)
compare
in interface Comparator