summary refs log tree commit diff stats
path: root/src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.h')
-rw-r--r--src/system.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h new file mode 100644 index 0000000..489afd0 --- /dev/null +++ b/src/system.h
@@ -0,0 +1,20 @@
1#ifndef SYSTEM_H_B61A8CEA
2#define SYSTEM_H_B61A8CEA
3
4class Game;
5
6class System {
7public:
8 System(Game& game)
9 : game(game) {}
10
11 virtual ~System() = default;
12
13 virtual void tick(double dt) = 0;
14
15protected:
16
17 Game& game;
18};
19
20#endif /* end of include guard: SYSTEM_H_B61A8CEA */