diff options
Diffstat (limited to 'engine/application.h')
-rw-r--r-- | engine/application.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/engine/application.h b/engine/application.h deleted file mode 100644 index b7fc36a..0000000 --- a/engine/application.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef APPLICATION_H -#define APPLICATION_H - -#include <SDL/SDL.h> -#include <FTGL/ftgl.h> -#include <vector> - -#include "stage.h" - -#include "bulletpattern.h" -#include <wriggle/shader.h> -#include <wriggle/texture.h> - -class Application { - private: - SDL_Surface *surface; - bool please_quit; - - bool paused; - unsigned int lasttick; - unsigned int frames; - unsigned int lastframes; - float fps; - - FTFont* font; - Texture* background; - - public: - Stage* stage; - - Application(); - ~Application(); - void run(); - void quit(); - - protected: - virtual void event_keypress(SDLKey key); - - void main_loop(unsigned int tick); -}; - -#endif |