]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Application.h
made application and battle state resizable
[l2e.git] / src / app / Application.h
index 159f627c0a87f1c4ab62e63eaf67594d4d30de9d..909942b829730020ecd598e368bcbaefc4d7edcb 100644 (file)
@@ -21,7 +21,7 @@ class State;
 class Application {
 
 public:
-       explicit Application(SDL_Surface *screen, State *initialState);
+       Application(sdl::InitScreen *screen, State *initialState);
        ~Application(void);
 private:
        Application(const Application &);
@@ -49,7 +49,7 @@ private:
        void Render(void);
 
 private:
-       SDL_Surface *screen;
+       sdl::InitScreen *screen;
        std::stack<State *> states;
        Uint32 last;