public ShipHull(ShipHullTable table) { // General GetFromTable(table); // Mesh interiorMeshes = new MeshCollection(table.shipInterior); exteriorMeshes = new MeshCollection(table.shipExterior); // Subsystems List <Subsystem> subsystemList = new List <Subsystem>(); subsystemList.Add(new AccessoriesManager(table)); subsystemList.Add(new AttachementsManager(table)); subsystemList.Add(new BMS(table)); subsystemList.Add(new CameraManager(table)); subsystemList.Add(new COMM(table)); subsystemList.Add(new CSSM(table)); subsystemList.Add(new ECS(table)); subsystemList.Add(new FCM(table)); subsystemList.Add(new LENR(table)); subsystemList.Add(new LSS(table)); subsystemList.Add(new MES(table)); subsystemList.Add(new MFD(table)); subsystemList.Add(new MTS(table)); subsystemList.Add(new NAS(table)); subsystemList.Add(new RCM(table)); subsystemList.Add(new RCS(table)); subsystemList.Add(new RMS(table)); subsystemList.Add(new TMS(table)); subsystemList.Add(new VMS(table)); subsystemList.Add(new LegacySystems()); subsystemsManager = new SubsystemsManager(subsystemList); }
public ShipHull() { subsystemsManager = new SubsystemsManager(); interiorMeshes = new MeshCollection(); exteriorMeshes = new MeshCollection(); }