Search in sources :

Example 1 with QuestLineSortByKey

use of betterquesting.misc.QuestLineSortByKey in project BetterQuesting by Funwayguy.

the class QuestLineDatabase method getAllKeys.

@Override
public List<Integer> getAllKeys() {
    List<Integer> list = new ArrayList<Integer>(((Map<Integer, IQuestLine>) questLines).keySet());
    Collections.sort(list, new QuestLineSortByKey(this));
    return list;
}
Also used : IQuestLine(betterquesting.api.questing.IQuestLine) ArrayList(java.util.ArrayList) QuestLineSortByKey(betterquesting.misc.QuestLineSortByKey)

Aggregations

IQuestLine (betterquesting.api.questing.IQuestLine)1 QuestLineSortByKey (betterquesting.misc.QuestLineSortByKey)1 ArrayList (java.util.ArrayList)1