/// <summary> /// Create a component instance from a vehicle using a string as type /// </summary> public Component(BaseVehicle vehicle, string type, ComponentBase relativeBase = ComponentBase.root) { this.vehicle = vehicle; this.component = type; this.relativeBase = relativeBase.ToString().ToLower(); }