Class CraftRecipeSort.ValidCanPerformRecipeComparator
java.lang.Object
zombie.entity.components.crafting.recipe.CraftRecipeSort.ValidCanPerformRecipeComparator
- All Implemented Interfaces:
Comparator<CraftRecipe>
- Enclosing class:
CraftRecipeSort
public static class CraftRecipeSort.ValidCanPerformRecipeComparator
extends Object
implements Comparator<CraftRecipe>
-
Constructor Summary
ConstructorsConstructorDescriptionValidCanPerformRecipeComparator
(List<CraftRecipe> list, IsoGameCharacter isoGameCharacter, ArrayList<Resource> arrayList0, ArrayList<InventoryItem> arrayList1) -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(CraftRecipe craftRecipe0, CraftRecipe craftRecipe1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ValidCanPerformRecipeComparator
public ValidCanPerformRecipeComparator(List<CraftRecipe> list, IsoGameCharacter isoGameCharacter, ArrayList<Resource> arrayList0, ArrayList<InventoryItem> arrayList1)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<CraftRecipe>
-