Level member access corrections
authorMatt Mullins <mokomull@gmail.com>
Sat, 11 Jul 2009 22:58:21 +0000 (17:58 -0500)
committerMatt Mullins <mokomull@gmail.com>
Sat, 11 Jul 2009 22:58:21 +0000 (17:58 -0500)
Level.h

diff --git a/Level.h b/Level.h
index 32c7ce7..90e8018 100644 (file)
--- 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<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