X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FEntity.h;h=f8576c15374c33708fd010e20890197320266f43;hb=962405ec344818a7f6850d243feca7989ae5d41b;hp=f9671ca03cb13e7f4c45ee410dede7be463476a6;hpb=4a51a83bdff30d1e25a5867cfb19936adc0034b1;p=orbi.git diff --git a/src/world/Entity.h b/src/world/Entity.h index f9671ca..f8576c1 100644 --- a/src/world/Entity.h +++ b/src/world/Entity.h @@ -17,10 +17,6 @@ public: void Move(Vector delta) { bounds.Move(delta); } public: - AABB &Bounds() { return bounds; } - const AABB &Bounds() const { return bounds; } - -private: AABB bounds; Vector vel; Vector acc; @@ -28,6 +24,8 @@ private: float mass = 1.0f; float elast = 0.75f; + bool onGround = false; + }; }