+
+Resources::Loader::Loader(Resources &r):
+ DerivedObjectLoader<Resources, Collection::Loader>(r)
+{
+ add("scene", &Loader::scene);
+}
+
+void Resources::Loader::scene(const string &name)
+{
+ Scene::GenericLoader ldr(obj);
+ load_sub_with(ldr);
+ obj.add(name, ldr.get_scene());
+}
+