public:
bool HasSimulation() const noexcept { return sim; }
+ Simulation &GetSimulation() noexcept { return *sim; }
const Simulation &GetSimulation() const noexcept { return *sim; }
void SetSimulation(Simulation &) noexcept;
void Cache() noexcept;
void CheckCollision() noexcept;
- // body takes over ownership of given pointer
void AddCreature(creature::Creature *);
void RemoveCreature(creature::Creature *);
std::vector<creature::Creature *> &Creatures() noexcept { return creatures; }