public void WorkTheNextShift() { if (HoneyVault.ConsumeHoney(CostPerShift)) { DoJob(); } }
protected override void DoJob() { eggs += EGGS_PER_SHIFT; foreach (Bee worker in workers) { worker.WorkTheNextShift(); } HoneyVault.ConsumeHoney(unassignedWorkers * HONEY_PER_UNASSIGNED_WORKER); UpdateStatusReport(); }