aboutsummaryrefslogtreecommitdiffstats
path: root/include/player.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/player.hpp')
-rw-r--r--include/player.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/player.hpp b/include/player.hpp
index 1caccc8..6bad917 100644
--- a/include/player.hpp
+++ b/include/player.hpp
@@ -4,6 +4,7 @@
#include <entityx/entityx.h>
#include <events.hpp>
+#include <common.hpp>
constexpr const float PLAYER_SPEED_CONSTANT = 0.15f;
@@ -29,6 +30,8 @@ public:
inline void setPlayer(const entityx::Entity& e)
{ pid = e.id(); }
+
+ vec2 getPosition(void) const;
};
#endif // PLAYER_HPP_