Package zombie.inventory
Class RecipeManager
java.lang.Object
zombie.inventory.RecipeManager
public class RecipeManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description RecipeManager()
-
Method Summary
Modifier and Type Method Description static boolean
DoesUseItemUp(java.lang.String string, Recipe recipe)
static boolean
DoesWipeUseDelta(java.lang.String string, java.lang.String string2)
static java.util.ArrayList
getAllEvolvedRecipes()
static java.util.ArrayList
getAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static java.util.ArrayList
getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2)
static java.util.ArrayList
getEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, boolean boolean1)
static int
getKnownRecipesNumber(IsoGameCharacter gameCharacter)
static int
getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem)
static java.util.Stack
getUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList)
static boolean
HasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList)
static boolean
hasHeat(Recipe recipe, InventoryItem inventoryItem, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter)
static boolean
IsItemDestroyed(java.lang.String string, Recipe recipe)
static boolean
IsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList)
static void
Loaded()
static InventoryItem
PerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList)
static float
UseAmount(java.lang.String string, Recipe recipe, IsoGameCharacter gameCharacter)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RecipeManager
public RecipeManager()
-
-
Method Details
-
Loaded
public static void Loaded() -
DoesWipeUseDelta
public static boolean DoesWipeUseDelta(java.lang.String string, java.lang.String string2) -
getKnownRecipesNumber
-
DoesUseItemUp
-
IsItemDestroyed
-
UseAmount
public static float UseAmount(java.lang.String string, Recipe recipe, IsoGameCharacter gameCharacter) -
getUniqueRecipeItems
public static java.util.Stack getUniqueRecipeItems(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList) -
IsRecipeValid
public static boolean IsRecipeValid(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList) -
HasAllRequiredItems
public static boolean HasAllRequiredItems(Recipe recipe, IsoGameCharacter gameCharacter, InventoryItem inventoryItem, java.util.ArrayList arrayList) -
hasHeat
public static boolean hasHeat(Recipe recipe, InventoryItem inventoryItem, java.util.ArrayList arrayList, IsoGameCharacter gameCharacter) -
getAvailableItemsAll
public static java.util.ArrayList getAvailableItemsAll(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getAvailableItemsNeeded
public static java.util.ArrayList getAvailableItemsNeeded(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem, java.util.ArrayList arrayList2) -
getNumberOfTimesRecipeCanBeDone
public static int getNumberOfTimesRecipeCanBeDone(Recipe recipe, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, InventoryItem inventoryItem) -
PerformMakeItem
public static InventoryItem PerformMakeItem(Recipe recipe, InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList) -
getAllEvolvedRecipes
public static java.util.ArrayList getAllEvolvedRecipes() -
getEvolvedRecipe
public static java.util.ArrayList getEvolvedRecipe(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, java.util.ArrayList arrayList, boolean boolean1)
-