| 706 | DEFINE_CASTING(Road) |
| 707 | |
| 708 | Road::Road(LODShapeWithShadow* shape, int id) : Object(shape, id) |
| 709 | { |
| 710 | _roadType = RoadTypes.New(shape->Name()); |
| 711 | SetType(Network); |
| 712 | if (shape->GeometryLevel()) |
| 713 | { |
| 714 | SetDestructType(DestructBuilding); |
| 715 | } |
| 716 | else |
| 717 | { |
| 718 | SetDestructType(DestructNo); |
| 719 | } |
| 720 | } |
| 721 | |
| 722 | void Road::DrawDiags() |
| 723 | { |
nothing calls this directly
no test coverage detected