aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Position.hpp
diff options
context:
space:
mode:
authorAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-31 01:22:14 -0400
committerAndy Belle-Isle <drumsetmonkey@gmail.com>2019-08-31 01:22:14 -0400
commit871a882833364cf3a2b1de13fc25f610ef5d7da5 (patch)
tree72bdcb11af6ac4229a9d5ff3df4a81609784e49c /src/components/Position.hpp
parent4eeacc60cab3d6cb070bcd19a5259b7a95832a1d (diff)
Added velocity component, and force add component dependencies when they don't exist
Diffstat (limited to 'src/components/Position.hpp')
-rw-r--r--src/components/Position.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Position.hpp b/src/components/Position.hpp
index 0d69393..0462d1a 100644
--- a/src/components/Position.hpp
+++ b/src/components/Position.hpp
@@ -24,7 +24,7 @@
struct Position : Component<Position>, entityx::Component<Position>
{
public:
- float x,y;
+ float x, y;
Position(float _x, float _y): x(_x), y(_y) {}
Position(void): x(0), y(0) {}