public void WorkTheNextShift()
 {
     if (HoneyVault.ConsumeHoney(CostPerShift))
     {
         DoJob();
     }
 }
Beispiel #2
0
 protected override void DoJob()
 {
     eggs += EGGS_PER_SHIFT;
     foreach (Bee worker in workers)
     {
         worker.WorkTheNextShift();
     }
     HoneyVault.ConsumeHoney(unassignedWorkers * HONEY_PER_UNASSIGNED_WORKER);
     UpdateStatusReport();
 }
 protected override void DoJob()
 {
     HoneyVault.ConvertNectarToHoney(NECTAR_PROCESSED_PER_SHIFT);
 }
Beispiel #4
0
 protected override void DoJob()
 {
     HoneyVault.CollectNectar(NECTAR_COLLECTED_PER_SHIFT);
 }