public CraftingRecipe(int id, string recipe_name, List <Item_Proxy> ingrediant, Item_Proxy output, string description, string recipeIconName) { //multi in single out this.id = id; this.recipe_name = recipe_name; this.description = description; this.recipeIconName = recipeIconName; for (int i = 0; i < ingrediant.Count; ++i) { this.ingrediant.Add(new Item_Proxy(ingrediant[i])); } //this.ingrediant = ingrediant; this.output.Add(output); LoadRecipeIcon(); }
public CraftingRecipe MakeCraftingRecipe(int id, string recipieName, List <Item_Proxy> itemList, Item_Proxy output, string description, string recipeIconName) { return(new CraftingRecipe(id, recipieName, itemList, output, description, recipeIconName)); }
public Item_Proxy(Item_Proxy another) { this.amount = another.amount; this.itemid = another.itemid; this.itemname = another.itemname; }