Package zombie.inventory
Class FixingManager
java.lang.Object
zombie.inventory.FixingManager
public class FixingManager
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FixingManager()
-
Method Summary
Modifier and Type Method Description static InventoryItem
fixItem(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer)
static double
getChanceOfFail(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer)
static double
getCondRepaired(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer)
static java.util.ArrayList
getFixes(InventoryItem inventoryItem)
static void
useFixer(IsoGameCharacter gameCharacter, Fixing.Fixer fixer, InventoryItem inventoryItem)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FixingManager
public FixingManager()
-
-
Method Details
-
getFixes
-
fixItem
public static InventoryItem fixItem(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer) -
useFixer
public static void useFixer(IsoGameCharacter gameCharacter, Fixing.Fixer fixer, InventoryItem inventoryItem) -
getChanceOfFail
public static double getChanceOfFail(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer) -
getCondRepaired
public static double getCondRepaired(InventoryItem inventoryItem, IsoGameCharacter gameCharacter, Fixing fixing, Fixing.Fixer fixer)
-