]> git.localhorst.tv Git - blobs.git/blob - src/world/Simulation.hpp
simple planet render
[blobs.git] / src / world / Simulation.hpp
1 #ifndef BLOBS_WORLD_SIMULATION_HPP_
2 #define BLOBS_WORLD_SIMULATION_HPP_
3
4
5 namespace blobs {
6 namespace world {
7
8 class Body;
9
10 class Simulation {
11
12 public:
13         explicit Simulation(Body &root);
14         ~Simulation();
15
16         Simulation(const Simulation &) = delete;
17         Simulation &operator =(const Simulation &) = delete;
18
19         Simulation(Simulation &&) = delete;
20         Simulation &operator =(Simulation &&) = delete;
21
22 public:
23         void Tick();
24
25         Body &Root() { return root; }
26         const Body &Root() const { return root; }
27
28 private:
29         Body &root;
30
31 };
32
33 }
34 }
35
36 #endif