home *** CD-ROM | disk | FTP | other *** search
- #ifndef __ModelHandler_h__
- #define __ModelHandler_h__
-
- #include "Model.h"
-
- class ModelHandler{
- public:
- static Model* getModel(const char* filename);
- static void freeModel(Model* model);
- static int getNumModels();
- static void setNewSearchPath(char* newPath);
- static void addToSearchPath(char* path);
-
- static char* searchPath; // THINKABOUTME: muss public sein fⁿr cvar??
-
- protected:
- static char** modelFilenames;
- static Model** models;
- static int numModels;
-
- static Model* loadModel(const char* filename);
- };
-
-
-
- #endif /* __ModelHandler_h__ */
-