Ejemplo n.º 1
0
        public WorkField(UnitCounts counts, int FieldDimension = 5)
        {
            if (FieldDimension > 10)
            {
                FieldDimension = 10;
            }
            _fieldDimension = FieldDimension;

            AddEmployeesToField(counts.WorkerCount, counts.BossCount, counts.BigBossCount);
            AddCustomerToField(counts.CustomerCount);
            AddWorkToField(counts.WorkCount);
            RandomizeMovableLocation();
            AddSalaryAddition();
        }
Ejemplo n.º 2
0
 public Game(UnitCounts counts, int dimension = 5)
 {
     _field = new WorkField(counts, dimension);
 }