X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2FBody.hpp;h=165d8483f5cbc6d890b7280ec91d6ed85401e6b1;hp=5ac4fa1ddcfab52bf305b07825a03becff283612;hb=631f0cfd6b421f5be68d60375db2ce91176d923d;hpb=05c42da80ec11cd73cc8a1b6ff21ac817b02a6e6 diff --git a/src/world/Body.hpp b/src/world/Body.hpp index 5ac4fa1..165d848 100644 --- a/src/world/Body.hpp +++ b/src/world/Body.hpp @@ -35,6 +35,7 @@ public: public: bool HasSimulation() const noexcept { return sim; } + Simulation &GetSimulation() noexcept { return *sim; } const Simulation &GetSimulation() const noexcept { return *sim; } void SetSimulation(Simulation &) noexcept;