From: Matt Mullins Date: Sat, 11 Jul 2009 22:58:21 +0000 (-0500) Subject: Level member access corrections X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=457e37561a50ec199751ac8b59925308777cf4e2;p=IvanGame.git Level member access corrections --- 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