diff options
Diffstat (limited to 'engine/engine.h')
-rw-r--r-- | engine/engine.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/engine/engine.h b/engine/engine.h new file mode 100644 index 0000000..894143e --- /dev/null +++ b/engine/engine.h @@ -0,0 +1,32 @@ +#ifndef ENGINE_H +#define ENGINE_H + +#include <wriggle/application.h> + +#include <FTGL/ftgl.h> + +#include "stage.h" + +class Engine : public Application { + private: + FTFont* font; + Texture* background; + + bool paused; + + unsigned int frames; + unsigned int lastframes; + float fps; + + protected: + virtual void event_keypress(SDLKey key); + + virtual void update(); + + public: + Stage* stage; + + Engine(); +}; + +#endif |