using std::string;
class Level
{
- public:
+public:
Level() {}
Level(SDL_Surface *screen):screen(screen) {}
~Level();
- vector<Sprite> SpriteList;
void DrawScene(SDL_Surface *screen);
+ void LoadBG(string name);
+
+private:
+ SDL_Surface *back;
+ SDL_Surface *screen;
+
+ vector<Sprite> SpriteList;
void DrawBG();
void DrawIMG();
void DrawIMG(SDL_Surface *img, int x, int y);
void DrawIMG(SDL_Surface *img, int x, int y, int w, int h, int x2, int y2);
void DrawSprites();
- void LoadBG(string name);
-
- private:
- SDL_Surface *back;
- SDL_Surface *screen;
};
#endif