|
LazyLib | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCollectionUtils.SortObjectivesByDistance
CollectionUtils.SortEntitiesByDistance
instead.
@Deprecated public static class CollectionUtils.SortObjectivesByDistance
Constructor Summary | |
---|---|
CollectionUtils.SortObjectivesByDistance(Vector2f location)
Deprecated. |
Method Summary | |
---|---|
int |
compare(BattleObjectiveAPI o1,
BattleObjectiveAPI o2)
Deprecated. Compares the distances of two BattleObjectiveAPI s from a central location. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Comparator |
---|
equals |
Constructor Detail |
---|
public CollectionUtils.SortObjectivesByDistance(Vector2f location)
location
- The central location to judge distance from.Method Detail |
---|
public int compare(BattleObjectiveAPI o1, BattleObjectiveAPI o2)
BattleObjectiveAPI
s from a central location.
compare
in interface Comparator<BattleObjectiveAPI>
o1
- The first BattleObjectiveAPI
.o2
- The second BattleObjectiveAPI
.
o1
and o2
from location
.
|
LazyLib | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |