X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FSimulation.hpp;h=2f2239efe1d9c77b03b1bd10e7151a7c0c659a0c;hb=25ea209f2732dfe643844f303d304dc3c6a5f4f0;hp=ea81de5ba226fcc812491aa18bbc44e8c704e361;hpb=cacc0641e5174d8b46e7a7086be6a45c87ab3642;p=blobs.git diff --git a/src/world/Simulation.hpp b/src/world/Simulation.hpp index ea81de5..2f2239e 100644 --- a/src/world/Simulation.hpp +++ b/src/world/Simulation.hpp @@ -1,6 +1,8 @@ #ifndef BLOBS_WORLD_SIMULATION_HPP_ #define BLOBS_WORLD_SIMULATION_HPP_ +#include "Set.hpp" + #include @@ -9,12 +11,14 @@ namespace world { class Body; class Planet; +class Resource; class Sun; +class TileType; class Simulation { public: - explicit Simulation(Body &root); + explicit Simulation(Body &root, const Set &, const Set &); ~Simulation(); Simulation(const Simulation &) = delete; @@ -33,6 +37,9 @@ public: Body &Root() noexcept { return root; } const Body &Root() const noexcept { return root; } + const Set &Resources() const noexcept { return resources; } + const Set &TileTypes() const noexcept { return tile_types; } + const std::set &Bodies() const noexcept { return bodies; } const std::set &Planets() const noexcept { return planets; } const std::set &Suns() const noexcept { return suns; } @@ -41,6 +48,8 @@ public: private: Body &root; + const Set &resources; + const Set &tile_types; std::set bodies; std::set planets; std::set suns;