MCPcopy Create free account
hub / github.com/devosoft/avida / Process

Method Process

avida-core/source/actions/EnvironmentActions.cc:150–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 static const cString GetDescription() { return "Arguments: <string res_name> <double res_count>"; }
149
150 void Process(cAvidaContext& ctx)
151 {
152 m_world->GetPopulation().SetResource(ctx, m_res_name, m_res_count);
153 }
154};
155
156/* Change the amount of a particular deme resource */

Callers

nothing calls this directly

Calls 1

SetResourceMethod · 0.45

Tested by

no test coverage detected