public class CraftingManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CraftingManager.Item
Pairs an item with a specific quantity for use inside a Combination.
|
Modifier and Type | Field and Description |
---|---|
com.jonathan.survivor.managers.CraftingManager.Combination |
axe
Holds all of the possible crafting combinations.
|
com.jonathan.survivor.managers.CraftingManager.Combination |
bullet
Holds all of the possible crafting combinations.
|
com.jonathan.survivor.managers.CraftingManager.Combination |
gunpowder
Holds all of the possible crafting combinations.
|
static CraftingManager |
instance
Holds the singleton instance to the CraftingManager.
|
com.jonathan.survivor.managers.CraftingManager.Combination |
rifle
Holds all of the possible crafting combinations.
|
com.jonathan.survivor.managers.CraftingManager.Combination |
teleporter
Holds all of the possible crafting combinations.
|
Modifier and Type | Method and Description |
---|---|
CraftingManager.Item |
getResult(com.badlogic.gdx.utils.Array<CraftingManager.Item> items)
Returns the resulting item crafted using the given array of items.
|
public static final CraftingManager instance
public com.jonathan.survivor.managers.CraftingManager.Combination axe
public com.jonathan.survivor.managers.CraftingManager.Combination rifle
public com.jonathan.survivor.managers.CraftingManager.Combination gunpowder
public com.jonathan.survivor.managers.CraftingManager.Combination bullet
public com.jonathan.survivor.managers.CraftingManager.Combination teleporter
public CraftingManager.Item getResult(com.badlogic.gdx.utils.Array<CraftingManager.Item> items)