| 192 | static const cString GetDescription() { return "Arguments: none"; } |
| 193 | |
| 194 | void Process(cAvidaContext& ctx) |
| 195 | { |
| 196 | cResourceLib & res_lib = m_world->GetEnvironment().GetResourceLib(); |
| 197 | for (int i=0; i < res_lib.GetSize(); i++) { |
| 198 | cResource* res = res_lib.GetResource(i); |
| 199 | m_world->GetPopulation().SetResource(ctx, res->GetID(), 0.0); |
| 200 | } |
| 201 | } |
| 202 | }; |
| 203 | |
| 204 | /* Change the amount of a particular resource in a particular cells */ |
nothing calls this directly
no test coverage detected