diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-03 20:03:41 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-03 20:03:41 -0400 |
commit | cff6ba0a316f6f23852f7451adaade8454b6592f (patch) | |
tree | 35e121a87b618be49dda8e77fffd3272dc4a3758 /src/player.hpp | |
parent | ec1d57aeadbd0f34616eeec8f1a922ca61b90085 (diff) |
lua handling movement events? idea
Diffstat (limited to 'src/player.hpp')
-rw-r--r-- | src/player.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player.hpp b/src/player.hpp index b1821c5..d9a9237 100644 --- a/src/player.hpp +++ b/src/player.hpp @@ -40,9 +40,13 @@ private: */ constexpr static double GROUND_VELOCITY = 100; + entityx::EntityManager& entities; entityx::Entity player; public: + PlayerSystem(entityx::EntityManager& _entities) : + entities(_entities) {} + /** * Prepares the system for running. */ |