]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/Simulation.hpp
simple planet render
[blobs.git] / src / world / Simulation.hpp
diff --git a/src/world/Simulation.hpp b/src/world/Simulation.hpp
new file mode 100644 (file)
index 0000000..2acf549
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef BLOBS_WORLD_SIMULATION_HPP_
+#define BLOBS_WORLD_SIMULATION_HPP_
+
+
+namespace blobs {
+namespace world {
+
+class Body;
+
+class Simulation {
+
+public:
+       explicit Simulation(Body &root);
+       ~Simulation();
+
+       Simulation(const Simulation &) = delete;
+       Simulation &operator =(const Simulation &) = delete;
+
+       Simulation(Simulation &&) = delete;
+       Simulation &operator =(Simulation &&) = delete;
+
+public:
+       void Tick();
+
+       Body &Root() { return root; }
+       const Body &Root() const { return root; }
+
+private:
+       Body &root;
+
+};
+
+}
+}
+
+#endif