1 #ifndef BLOBS_WORLD_BODY_HPP_
2 #define BLOBS_WORLD_BODY_HPP_
22 Body(const Body &) = delete;
23 Body &operator =(const Body &) = delete;
25 Body(Body &&) = delete;
26 Body &operator =(Body &&) = delete;
29 bool HasParent() const { return parent; }
30 Body &Parent() { return *parent; }
31 const Body &Parent() const { return *parent; }
32 void SetParent(Body &);
35 virtual void Draw(app::Assets &, graphics::Viewport &) { }
38 void AddChild(Body &);
39 void RemoveChild(Body &);
43 std::vector<Body *> children;