| 265 | } |
| 266 | |
| 267 | void Path::removeObject(SimObject* obj) |
| 268 | { |
| 269 | bool recalc = dynamic_cast<Marker*>(obj) != NULL; |
| 270 | |
| 271 | Parent::removeObject(obj); |
| 272 | |
| 273 | if (mPathIndex != NoPathIndex && recalc == true) |
| 274 | updatePath(); |
| 275 | } |
| 276 | |
| 277 | DefineEngineMethod( Path, getPathId, S32, (),, |
| 278 | "@brief Returns the PathID (not the object ID) of this path.\n\n" |
no outgoing calls
no test coverage detected