2 #include "resourcemanager.h"
14 manager->remove_resource(*this);
17 void Resource::set_manager(ResourceManager *m)
20 manager->remove_resource(*this);
24 manager->add_resource(*this);
25 manager_data = manager->get_data_for_resource(*this);
31 bool Resource::is_loaded() const
33 return manager ? manager->is_resource_loaded(*this) : true;