fix animation manager
This commit is contained in:
@@ -49,7 +49,7 @@ class Animation
|
||||
class AnimationManager
|
||||
{
|
||||
private:
|
||||
std::map<std::string, Animation> *animations;
|
||||
std::map<std::string, Animation*> animations;
|
||||
std::map<std::string, bool> flip;
|
||||
std::map<std::string, bool> autoRect;
|
||||
std::string currentAnimation;
|
||||
|
@@ -14,4 +14,4 @@ private:
|
||||
public:
|
||||
Text(TTF_Font* font, SDL_Color color);
|
||||
void draw(SDL_Renderer* renderer, std::string text, int x, int y);
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user