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> compareList, IsoGameCharacter character, ArrayList<Resource> sourceResources, ArrayList<InventoryItem> sourceItems, ArrayList<ItemContainer> containers) -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ValidCanPerformRecipeComparator
public ValidCanPerformRecipeComparator(List<CraftRecipe> compareList, IsoGameCharacter character, ArrayList<Resource> sourceResources, ArrayList<InventoryItem> sourceItems, ArrayList<ItemContainer> containers)
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<CraftRecipe>
-