diff options
Diffstat (limited to 'src/components/Velocity.hpp')
-rw-r--r-- | src/components/Velocity.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Velocity.hpp b/src/components/Velocity.hpp index eacadf2..c2b85e8 100644 --- a/src/components/Velocity.hpp +++ b/src/components/Velocity.hpp @@ -25,9 +25,9 @@ struct Velocity : Component<Velocity>, entityx::Component<Velocity> { public: - float x, y; + double x, y; Velocity(): x(0), y(0) {} - Velocity(float _x, float _y): x(_x), y(_y) {} + Velocity(double _x, double _y): x(_x), y(_y) {} Velocity FromLua(sol::object ref) { |