+ add_type<Graphic>().keyword("graphic");
+ add_type<GL::Texture2D>().keyword("texture").creator(&Resources::create_texture);
+ add_type<GL::Font>().creator(&Resources::create_font);
+}
+
+void Resources::set_path(const FS::Path &p)
+{
+ /* XXX bad, should change Collection API to allow creators to form paths
+ relative to the datafile location */
+ path = p;