1 #ifndef BLOBS_WORLD_SIMULATION_HPP_
2 #define BLOBS_WORLD_SIMULATION_HPP_
15 explicit Simulation(Body &root);
18 Simulation(const Simulation &) = delete;
19 Simulation &operator =(const Simulation &) = delete;
21 Simulation(Simulation &&) = delete;
22 Simulation &operator =(Simulation &&) = delete;
29 Body &Root() { return root; }
30 const Body &Root() const { return root; }
32 double Time() const noexcept { return time; }
36 std::vector<Body *> all_bodies;