zombie.inventory
Class RecipeManager

java.lang.Object
  extended by zombie.inventory.RecipeManager

public class RecipeManager
extends java.lang.Object


Constructor Summary
RecipeManager()
           
 
Method Summary
static boolean DoesUseItemUp(java.lang.String itemToUse, Recipe recipe)
           
static boolean DoesWipeUseDelta(java.lang.String itemToUse, java.lang.String itemToMake)
           
static java.util.Stack<Recipe> getUniqueRecipeItems(InventoryItem a, InventoryItem b, InventoryItem c, InventoryItem d, IsoGameCharacter chr)
           
static boolean IsItemDestroyed(java.lang.String itemToUse, Recipe recipe)
           
static InventoryItem PerformMakeItem(Recipe recipe, InventoryItem item1, InventoryItem item2, InventoryItem item3, InventoryItem item4, IsoGameCharacter chr)
           
static float UseAmount(java.lang.String itemToUse, Recipe recipe, IsoGameCharacter chr)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipeManager

public RecipeManager()
Method Detail

DoesWipeUseDelta

public static boolean DoesWipeUseDelta(java.lang.String itemToUse,
                                       java.lang.String itemToMake)

DoesUseItemUp

public static boolean DoesUseItemUp(java.lang.String itemToUse,
                                    Recipe recipe)

IsItemDestroyed

public static boolean IsItemDestroyed(java.lang.String itemToUse,
                                      Recipe recipe)

UseAmount

public static float UseAmount(java.lang.String itemToUse,
                              Recipe recipe,
                              IsoGameCharacter chr)

getUniqueRecipeItems

public static java.util.Stack<Recipe> getUniqueRecipeItems(InventoryItem a,
                                                           InventoryItem b,
                                                           InventoryItem c,
                                                           InventoryItem d,
                                                           IsoGameCharacter chr)

PerformMakeItem

public static InventoryItem PerformMakeItem(Recipe recipe,
                                            InventoryItem item1,
                                            InventoryItem item2,
                                            InventoryItem item3,
                                            InventoryItem item4,
                                            IsoGameCharacter chr)