Пример #1
0
 Font* ResourceManager::GetFont(const std::string& name)
 {
	 hash_map<string,Font*>::iterator iterator = fonts.find(name);
	 if(iterator == fonts.end()) return NULL;
	 Font* result = iterator->second;
	 result->AddRef();
	 return result;
 }