12
std::vector<std::unique_ptr<Entity>> enteties; bool isAlive() const { return alive; }
std::entities.erase(std::remove_if(entities.begin(), entities.end(), [](auto elt){ return elt->isAlive(); }), entities.end());
entities.erase(std::remove_if(entities.begin(), entities.end(), [](auto elt) { return elt->isAlive(); }), entities.end());