1 #include "background.h" 3 Background::Background() {
6 Background::~Background() {}
void setImage(Image i)
Set the Object's Image with a given Image.
void setFrame(SDL_Rect i)
Set the frame with a given SDL_Rect.
void setDest(SDL_Rect i)
Set the destination with a given SDL_Rect.
void setBackground(string file, int w, int h, SDL_Renderer *ren)
Sets the background with a path to the file name, the width and height of the screen, and the renderer.