diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 13:50:25 +0000 |
commit | 976b4da70227ab97607c51be05a20f4ecfca9325 (patch) | |
tree | d77bfb869b6337f1747b34e8f053f3acddbc4b54 /src/resources/resourcemanager.cpp | |
parent | 5a1007fa3e827c03bb86db71cb26dfd4c485f28d (diff) | |
download | mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.gz mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.bz2 mana-976b4da70227ab97607c51be05a20f4ecfca9325.tar.xz mana-976b4da70227ab97607c51be05a20f4ecfca9325.zip |
Removed 9 cases of load_bitmap.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 1d65538f..3a7b3897 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -69,7 +69,7 @@ ResourceManager::~ResourceManager() #endif } -Resource* ResourceManager::create(const E_RESOURCE_TYPE &type, +Resource* ResourceManager::get(const E_RESOURCE_TYPE &type, const std::string &idPath) { // Check if the id exists, and return the value if it does. @@ -157,9 +157,9 @@ Resource* ResourceManager::create(const E_RESOURCE_TYPE &type, return resource; } -Image *ResourceManager::createImage(const std::string &idPath) +Image *ResourceManager::getImage(const std::string &idPath) { - return (Image*)create(IMAGE, idPath); + return (Image*)get(IMAGE, idPath); } ResourceManager* ResourceManager::getInstance() |