public void Add(Bucket bucket)
 {
     _buckets.Add(bucket);
 }
 public void Delete(Bucket bucket)
 {
     _buckets.Remove(bucket);
 }
Esempio n. 3
0
        private void StartTomato()
        {
            currentState = TomatoState.Started;
            countdownFinished = DateTime.Now.AddMinutes(countdownMinutes);
            currentBucket = new Bucket();

            timerUI.Start();
        }