| 233 | } |
| 234 | |
| 235 | void Path::addObject(SimObject* obj) |
| 236 | { |
| 237 | Parent::addObject(obj); |
| 238 | |
| 239 | if (mPathIndex != NoPathIndex) { |
| 240 | // If we're already finished, and this object is a marker, then we need to |
| 241 | // update our path information... |
| 242 | if (dynamic_cast<Marker*>(obj) != NULL) |
| 243 | updatePath(); |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | void Path::removeObject(SimObject* obj) |
| 248 | { |
no outgoing calls
no test coverage detected