Created PlayerManager

This commit is contained in:
Kayne Ruse
2013-05-01 23:40:28 +10:00
parent 80004ca8d4
commit 95f2d212ef
6 changed files with 103 additions and 14 deletions
+2
View File
@@ -17,6 +17,8 @@ public:
SDL_Surface* Set(std::string key, SDL_Surface* ptr);
void Free(std::string key);
void FreeAll();
SDL_Surface* operator[](std::string key) { return Get(key); };
private:
SDL_Surface* LoadSurface(std::string key, std::string fname);
typedef std::map<std::string, SDL_Surface*> mapType;