blob: 754342dce9c553375ce62462b834371284096947 (
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;
float fps;
unsigned int fps_frames;
sf::Clock fps_clock;
protected:
virtual void event_keypress(sf::Key::Code key);
virtual void update();
public:
Stage* stage;
Engine();
};
#endif
|