]> git.localhorst.tv Git - space.git/blobdiff - src/entity/Entity.h
force based movement
[space.git] / src / entity / Entity.h
diff --git a/src/entity/Entity.h b/src/entity/Entity.h
deleted file mode 100644 (file)
index eb95331..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef SPACE_ENTITY_H_
-#define SPACE_ENTITY_H_
-
-#include "../graphics/Vector.h"
-
-
-namespace space {
-
-class Entity {
-
-public:
-       constexpr Entity() { }
-
-public:
-       Vector<int> area;
-       Vector<float> pos;
-       Vector<float> vel;
-       Vector<float> acc;
-
-public:
-       void Update(float delta) {
-               pos += vel * delta;
-               vel += acc * delta;
-       }
-
-};
-
-}
-
-#endif