int Game::removeObject(const ObjectPtr &obj) { obj->cleanup(); return this->m_objects.removeObject(obj); }