Exemple #1
0
        public bool CupCheck()
        {
            inventory.CupsOnHand(cupsUsed);
            if (cupsUsed > inventory.cupsBeginningInventory)
            {
                cupsSold--;
                cupsUsed--;
            }

            return(inventory.cupsOnHand > 0);
        }