Commits

Ivan Vučica committed 51af677

Fixed function naming in texture manager.

  • Participants
  • Parent commits acb6e09

Comments (0)

Files changed (3)

     private:
     Texture * texture;
     double x, y;
-
 };
 
 

texture_manager.cpp

 }
 
 void
-TextureManager::DestroyInstance()
+TextureManager::destroyInstance()
 {
     delete instance;
     instance = NULL;
 }
 
 bool
-TextureManager::Loaded()
+TextureManager::isLoaded()
 {
     return this->bLoaded;
 }

texture_manager.h

 
     static TextureManager* getInstance();
     Texture* getTexture(std::string filename);
-    static void DestroyInstance();
-    bool Loaded();
+    static void destroyInstance();
+    bool isLoaded();
     void unloadTexture(const std::string& filename);
 
     private: