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 brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer)
static double
getChanceOfFail(InventoryItem brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer)
static double
getCondRepaired(InventoryItem brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer)
static Fixing
getFix(InventoryItem item)
static void
useFixer(IsoGameCharacter chr, Fixing.Fixer fixer, InventoryItem brokenItem)
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
-
getFix
-
fixItem
public static InventoryItem fixItem(InventoryItem brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer) -
useFixer
-
getChanceOfFail
public static double getChanceOfFail(InventoryItem brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer) -
getCondRepaired
public static double getCondRepaired(InventoryItem brokenItem, IsoGameCharacter chr, Fixing fixing, Fixing.Fixer fixer)
-