| 17 | } |
| 18 | |
| 19 | std::shared_ptr<const ResourceLoader> ResourceManager::GetLoader( const std::string& id ) { |
| 20 | auto loader_iter = m_loaders.find( id ); |
| 21 | return loader_iter == m_loaders.end() ? std::shared_ptr<const ResourceLoader>() : loader_iter->second; |
| 22 | } |
| 23 | |
| 24 | std::shared_ptr<const sf::Font> ResourceManager::GetFont( const std::string& path ) { |
| 25 | { |