Ejemplo n.º 1
0
 public void WorkTheNextShift()
 {
     if (HoneyVault.ConsumeHoney(CostPerShift * Difficulty))
     {
         DoJob();
     }
 }
Ejemplo n.º 2
0
 public override void DoJob()
 {
     eggs += EGGS_PER_SHIFT;
     foreach (Bee worker in workers)
     {
         worker.WorkTheNextShift();
     }
     HoneyVault.ConsumeHoney((HONEY_PER_UNASSIGNED_WORKER * unassignedWorkers));
     UpdateStatusReport();
 }