aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Position.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Position.hpp')
-rw-r--r--src/components/Position.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Position.hpp b/src/components/Position.hpp
index 0462d1a..8a6bd74 100644
--- a/src/components/Position.hpp
+++ b/src/components/Position.hpp
@@ -24,8 +24,8 @@
struct Position : Component<Position>, entityx::Component<Position>
{
public:
- float x, y;
- Position(float _x, float _y): x(_x), y(_y) {}
+ double x, y;
+ Position(double _x, double _y): x(_x), y(_y) {}
Position(void): x(0), y(0) {}
Position FromLua(sol::object ref)