#include "Image_asset.h" #include "spritesheet.h" #include #include #include Image::Image(const std::string& path){ surface = IMG_Load(path.c_str()); } Image::~Image(){ SDL_FreeSurface(surface); } SDL_Surface* Image::getSurface() const { return surface; }