| 134 | } |
| 135 | |
| 136 | void cTestCPU::ModifyResources(cAvidaContext& ctx, const Apto::Array<double>& res_change) |
| 137 | { |
| 138 | //We only let the testCPU modify the resources if we are using a DEPLETABLE option. @JEB |
| 139 | if (m_res_method >= RES_UPDATED_DEPLETABLE) m_resource_count.Modify(ctx, res_change); |
| 140 | } |
| 141 | |
| 142 | |
| 143 | // NOTE: This method assumes that the organism is a fresh creation. |
no test coverage detected