| 1977 | } |
| 1978 | |
| 1979 | bool cEnvironment::SetResourceInflow(const cString& name, double _inflow ) |
| 1980 | { |
| 1981 | cResource* found_resource = resource_lib.GetResource(name); |
| 1982 | if (found_resource == NULL) return false; |
| 1983 | found_resource->SetInflow( _inflow ); |
| 1984 | return true; |
| 1985 | } |
| 1986 | |
| 1987 | bool cEnvironment::SetResourceOutflow(const cString& name, double _outflow ) |
| 1988 | { |
nothing calls this directly
no test coverage detected