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