Example #1
0
 public function addRecipe(Recipe $recipe)
 {
     $this->craftingManager->registerRecipe($recipe);
 }
Example #2
0
 public function addRecipe(Recipe $recipe)
 {
     $this->craftingManager->registerRecipe($recipe);
     $this->generateRecipeList();
 }