diff options
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h new file mode 100644 index 0000000..e08db0a --- /dev/null +++ b/src/system.h | |||
@@ -0,0 +1,17 @@ | |||
1 | #ifndef SYSTEM_H_B61A8CEA | ||
2 | #define SYSTEM_H_B61A8CEA | ||
3 | |||
4 | class Game; | ||
5 | |||
6 | class System { | ||
7 | public: | ||
8 | System(Game& game) | ||
9 | : game(game) {} | ||
10 | |||
11 | virtual void tick(double dt) = 0; | ||
12 | |||
13 | protected: | ||
14 | Game& game; | ||
15 | }; | ||
16 | |||
17 | #endif /* end of include guard: SYSTEM_H_B61A8CEA */ | ||