示例#1
0
        public void BuyCups()
        {
            Console.Write("How many cups would you like to purchase?: ");

            int cups = int.Parse(Console.ReadLine());

            for (int i = 0; i <= cups; i++)
            {
                player.inventory.playerCups.Add(new Cups());
            }
            player.CalculateCostOfCups();
            Console.WriteLine();
            Console.ReadLine();
        }