This method sets the inflow of the named resource. * It changes this value in the environment, then updates it in the * actual population's resource count. */
| 7197 | * actual population's resource count. |
| 7198 | */ |
| 7199 | void cPopulation::SetResourceInflow(const cString res_name, double new_level) |
| 7200 | { |
| 7201 | environment.SetResourceInflow(res_name, new_level); |
| 7202 | resource_count.SetInflow(res_name, new_level); |
| 7203 | } |
| 7204 | |
| 7205 | /* This method sets the outflow of the named resource. |
| 7206 | * It changes this value in the enviroment, then updates the |
no test coverage detected