summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r--src/resources/resourcemanager.cpp6
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()