public RoadCarPrimitive(Viewer viewer, RoadCar car) { Car = car; CarShape = new RoadCarShape(viewer, viewer.Simulator.CarSpawnerLists[Car.CarSpawnerListIdx].shapeNames[car.Type]); }
RoadCarPrimitive LoadCar(RoadCar car) { return(new RoadCarPrimitive(Viewer, car)); }