| 1985 | } |
| 1986 | |
| 1987 | bool cEnvironment::SetResourceOutflow(const cString& name, double _outflow ) |
| 1988 | { |
| 1989 | cResource* found_resource = resource_lib.GetResource(name); |
| 1990 | if (found_resource == NULL) return false; |
| 1991 | found_resource->SetOutflow( _outflow ); |
| 1992 | return true; |
| 1993 | } |
| 1994 | |
| 1995 | bool cEnvironment::ChangeResource(cReaction* reaction, const cString& res, int process_num) |
| 1996 | { |
nothing calls this directly
no test coverage detected