| 254 | } |
| 255 | |
| 256 | const FootpathSurfaceObject* PathElement::GetSurfaceEntry() const |
| 257 | { |
| 258 | auto& objMgr = GetContext()->GetObjectManager(); |
| 259 | return objMgr.GetLoadedObject<FootpathSurfaceObject>(GetSurfaceEntryIndex()); |
| 260 | } |
| 261 | |
| 262 | void PathElement::SetSurfaceEntryIndex(ObjectEntryIndex newIndex) |
| 263 | { |