Example #1
0
        /// <summary> Рабочий цикл </summary>
        public void WorkingCycle()
        {
            _cleaner.CleanCafe();
            _driver.GetProducts();

            _cooker.CookShaurma();
            _cashier.TakeMoney();

            _cooker.CookShaurma();
            _cashier.TakeMoney();

            _cooker.CookShaurma();
            _cashier.TakeMoney();

            _cooker.CookShaurma();
            _cashier.TakeMoney();

            _cooker.CookShaurma();
            _cashier.TakeMoney();

            _cleaner.CleanCafe();

            CountRevenue();
        }
Example #2
0
 public void TakeMoney()
 {
     _cashier.TakeMoney();
 }