blob: 894143e2884f9bbc59c00c063031055bbee586a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
|