From cff6ba0a316f6f23852f7451adaade8454b6592f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 3 Sep 2019 20:03:41 -0400 Subject: lua handling movement events? idea --- src/player.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/player.hpp') 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. */ -- cgit v1.2.3