Example #1
0
        public void DecideIfBuyingItems()
        {
            string prompt   = $"You now have ${Money}. Do you want to purchase any ingredients? Please select 'yes' or 'no'.";
            string response = UserInterface.GetUserYesOrNo(prompt);

            if (response == "yes")
            {
                string item = UserInterface.GetUserItem();
                BuyItem(item);
            }
        }