]> git.localhorst.tv Git - orbi.git/blobdiff - src/world/Entity.h
simple controller
[orbi.git] / src / world / Entity.h
index f9671ca03cb13e7f4c45ee410dede7be463476a6..f8576c15374c33708fd010e20890197320266f43 100644 (file)
@@ -17,10 +17,6 @@ public:
        void Move(Vector<float> delta) { bounds.Move(delta); }
 
 public:
-       AABB &Bounds() { return bounds; }
-       const AABB &Bounds() const { return bounds; }
-
-private:
        AABB bounds;
        Vector<float> vel;
        Vector<float> acc;
@@ -28,6 +24,8 @@ private:
        float mass = 1.0f;
        float elast = 0.75f;
 
+       bool onGround = false;
+
 };
 
 }