]> git.localhorst.tv Git - orbi.git/blobdiff - src/world/Entity.h
hbox/vbox implementation
[orbi.git] / src / world / Entity.h
index f8576c15374c33708fd010e20890197320266f43..b0dcc69b50803753842bd145715761678f110b65 100644 (file)
@@ -14,10 +14,11 @@ public:
 
 public:
        void Update(float dt, Vector<float> extAcc, Vector<float> tv);
-       void Move(Vector<float> delta) { bounds.Move(delta); }
+       void Move(Vector<float> delta);
 
 public:
-       AABB bounds;
+       AABB vbox;
+       AABB hbox;
        Vector<float> vel;
        Vector<float> acc;