private void PrintRecipe(Recipe r) { CustomerOrderManager.EvaluateRecipeBasedOnCustomerOrder(r); string itemName = ItemDataManager.GetItemById(r.outputId).DisplayName; Debug.Log($"{itemName}:{r.recipeDescription}"); }
private void OnCraftingMenuStatusChange(object source, UiEventArgs args) { craftingConversationBehavior.enabled = args.Load; try { craftingConversationBehavior.SetActiveConversation(CustomerOrderManager.GetActiveOrder()); } catch (InvalidOperationException) { Debug.Log("No Active Orders!"); } }
public static void TestUserStory() { // var order = new Order(); // var pizza1 = new MeatPizza(SizeType.Large); // var pizza2 = new MeatPizza(SizeType.Large); // order.AddPizza(pizza1); // order.AddPizza(pizza2); // // var dict = order.ViewPizzas(); // Console.WriteLine(order); Customer c = new Customer(); CustomerOrderManager.GetManager(c).StartStoreApp(); }
// [Theory] // [InlineData(n] public void TestDBLoading() { Customer customer = new Customer(); var crusts = CustomerOrderManager.GetManager(customer).GetAllCrusts(); }