Search in sources :

Example 1 with QuestLineSortByValue

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

the class QuestLineDatabase method getAllValues.

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

Aggregations

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