예제 #1
0
 public void FazerCafe()
 {
     if (beans == 0)
     {
         if (AcabouOCafe != null)
         {
             AcabouOCafe.Invoke(this, new CoffeEventArgs(beans));
         }
     }
 }
예제 #2
0
        public void AbastecerCafe(int beans)
        {
            this.beans = beans;

            AcabouOCafe?.Invoke(this, new CoffeEventArgs(beans));
        }