Ejemplo n.º 1
0
        public CustomAlchemyRecipe(string name, InventoryComponent inventory, List <IAlchemyIngredient> ingredients, IAlchemyOperation operation)
        {
            Name        = name;
            Ingredients = ingredients;

            this.inventory = inventory;
            this.operation = operation;
        }
Ejemplo n.º 2
0
 public CustomAlchemyRecipe Create(string name, List <IAlchemyIngredient> requirements, IAlchemyOperation operation)
 {
     return(new CustomAlchemyRecipe(name, this.inventory, requirements, operation));
 }