| 69 | } |
| 70 | |
| 71 | void SkinManager::createDefault(std::string_view _value) |
| 72 | { |
| 73 | const std::string& resourceCategory = ResourceManager::getInstance().getCategoryName(); |
| 74 | ResourceSkin* skin = FactoryManager::getInstance().createObject<ResourceSkin>(resourceCategory); |
| 75 | |
| 76 | skin->setResourceName(_value); |
| 77 | ResourceManager::getInstance().addResource(skin); |
| 78 | } |
| 79 | |
| 80 | ResourceSkin* SkinManager::getByName(std::string_view _name) const |
| 81 | { |
nothing calls this directly
no test coverage detected