| 253 | } |
| 254 | |
| 255 | void Path::addObject(SimObject* obj) |
| 256 | { |
| 257 | Parent::addObject(obj); |
| 258 | |
| 259 | if (mPathIndex != NoPathIndex) { |
| 260 | // If we're already finished, and this object is a marker, then we need to |
| 261 | // update our path information... |
| 262 | if (dynamic_cast<Marker*>(obj) != NULL) |
| 263 | updatePath(); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | void Path::removeObject(SimObject* obj) |
| 268 | { |
no outgoing calls
no test coverage detected