| 158 | } |
| 159 | |
| 160 | void Scene::addDynamicObject(SceneObject* object) |
| 161 | { |
| 162 | mDynamicObjects.push_back(object); |
| 163 | |
| 164 | //Do it like regular, though we should probably bail if we're trying to add non-scene objects to the scene? |
| 165 | Parent::addObject(object); |
| 166 | } |
| 167 | |
| 168 | void Scene::removeDynamicObject(SceneObject* object) |
| 169 | { |