| 328 | } |
| 329 | |
| 330 | void Group::ReceiveObjectMessageVAList(OBJECT_MSG::Type type, va_list args) { |
| 331 | switch (type) { |
| 332 | case OBJECT_MSG::SET_COLOR: { |
| 333 | vec3 temp = *va_arg(args, vec3*); |
| 334 | |
| 335 | std::vector<Child>::iterator cit = children.begin(); |
| 336 | for (; cit != children.end(); cit++) { |
| 337 | cit->direct_ptr->ReceiveObjectMessage(OBJECT_MSG::SET_COLOR, &temp); |
| 338 | } |
| 339 | |
| 340 | break; |
| 341 | } |
| 342 | default: |
| 343 | Object::ReceiveObjectMessageVAList(type, args); |
| 344 | break; |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | void Group::RemapReferences(std::map<int, int> id_map) { |
| 349 | for (auto& i : children) { |
no test coverage detected