#include #include class Texture{ public: Texture(SDL_Renderer* renderer); ~Texture(); int loadFromFile(std::string path); void render(int x, int y, SDL_Rect* clip = nullptr); private: SDL_Texture* texture_; int w_; int h_; SDL_Renderer* renderer_; };