#include "Entity.h" #include #include #include #include class Vector2D; class Manager; class AssetManager { public: AssetManager(Manager* manager); ~AssetManager(); void createProjectile(Vector2D pos, Vector2D velocity, int scale, int range, int speed, const char* texturePath, TeamLabel teamLabel); //texture management void addTexture(std::string id, const char* path); // sound management void addSoundEffect(std::string id, const char* path); SDL_Texture* getTexture(std::string id); Mix_Chunk* getSound(std::string id); private: Manager* man; std::map textures; std::map soundEffects; };