From 457e37561a50ec199751ac8b59925308777cf4e2 Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Sat, 11 Jul 2009 17:58:21 -0500 Subject: [PATCH] Level member access corrections --- Level.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Level.h b/Level.h index 32c7ce7..90e8018 100644 --- a/Level.h +++ b/Level.h @@ -7,21 +7,22 @@ using std::vector; using std::string; class Level { - public: +public: Level() {} Level(SDL_Surface *screen):screen(screen) {} ~Level(); - vector SpriteList; void DrawScene(SDL_Surface *screen); + void LoadBG(string name); + +private: + SDL_Surface *back; + SDL_Surface *screen; + + vector 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 -- 2.11.0