X-Git-Url: http://git.localhorst.tv/?p=space.git;a=blobdiff_plain;f=src%2Fentity%2FEntity.h;fp=src%2Fentity%2FEntity.h;h=0000000000000000000000000000000000000000;hp=eb95331e4cf48d130932d26fbe06adff5a79ad02;hb=699437a474de8b87ccb6749d44adf740e680d620;hpb=1129b8ac89f1e614f69793227ccec90157708aea diff --git a/src/entity/Entity.h b/src/entity/Entity.h deleted file mode 100644 index eb95331..0000000 --- a/src/entity/Entity.h +++ /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 area; - Vector pos; - Vector vel; - Vector acc; - -public: - void Update(float delta) { - pos += vel * delta; - vel += acc * delta; - } - -}; - -} - -#endif