]> git.localhorst.tv Git - gworm.git/blobdiff - src/world/Entity.h
basic entities
[gworm.git] / src / world / Entity.h
diff --git a/src/world/Entity.h b/src/world/Entity.h
new file mode 100644 (file)
index 0000000..b8706d2
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef GWORM_ENTITY_H_
+#define GWORM_ENTITY_H_
+
+#include "../graphics/Vector.h"
+
+
+namespace gworm {
+
+class Entity {
+
+public:
+       Entity();
+
+public:
+       void Update(float dt);
+
+public:
+       Vector<float> pos;
+       Vector<float> vel;
+       Vector<float> acc;
+
+       float mass;
+
+};
+
+}
+
+#endif