#pragma once #include #include #include #include namespace Game::Renderer { class Texture { public: Texture(std::string id = "noname"); Texture(const std::string& path, SDL_Renderer* renderer, std::string id = "noname"); Texture(const Texture&); Texture& operator=(const Texture&); DISABLE_MOVE(Texture); virtual ~Texture(); SDL_Texture* getSDLTexture(); std::string getId(); float getWidth(); float getHeight(); protected: SDL_Texture* mTex; std::string mId; }; }