From cefe66cdbb8786dc455657376e36f0ff8785d5bc Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 8 Feb 2018 12:34:42 -0500 Subject: Introduced animated sprites Also restyled a lot of the code. --- src/system.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/system.h') diff --git a/src/system.h b/src/system.h index 489afd0..6a3cd14 100644 --- a/src/system.h +++ b/src/system.h @@ -1,12 +1,18 @@ #ifndef SYSTEM_H_B61A8CEA #define SYSTEM_H_B61A8CEA +#include "entity_manager.h" + class Game; class System { public: - System(Game& game) - : game(game) {} + + using id_type = EntityManager::id_type; + + System(Game& game) : game_(game) + { + } virtual ~System() = default; @@ -14,7 +20,7 @@ public: protected: - Game& game; + Game& game_; }; #endif /* end of include guard: SYSTEM_H_B61A8CEA */ -- cgit 1.4.1