Arch Game Engine  0.2
background.h
1 #ifndef BACKGROUND_H
2 #define BACKGROUND_H
3 
4 #include "object.h"
5 
7 class Background : public Object {
8 private:
9 public:
10  Background();
11  ~Background();
13  void setBackground(string file, int w, int h, SDL_Renderer* ren);
14 };
15 
16 #endif //BACKGROUND_H
This class stores information for an Object in the game.
Definition: object.h:12
Object that is a background image that covers the screen.
Definition: background.h:7
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.
Definition: background.cpp:8