Example #1
0
 void RunTest(
     int _amountOfEmployes,
     int _amountOfFreeEmployes,
     int _amountOfTourist,
     int _amountOfHomelles,
     Vector3 _cameraPostion,
     int _timeScale)
 {
     camera.gameObject.transform.position = _cameraPostion;
     Time.timeScale = Time.timeScale * _timeScale;
     simulationManager.InstantiateAI(Role.Employee, _amountOfEmployes);
     simulationManager.InstantiateAI(Role.FreeEmployee, _amountOfFreeEmployes);
     simulationManager.InstantiateAI(Role.Homeless, _amountOfHomelles);
     simulationManager.InstantiateAI(Role.Turist, _amountOfTourist);
 }
Example #2
0
 public void InstantiateAI(Role _role, int _amount)
 {
     simulationManager.InstantiateAI(_role, _amount);
 }