public ShipModel(IRes resource) { this.resource = resource; es = new ES_ShipModelSlot(); cb = new CB_ShipModelSlot(); df = new DF_ShipModelSlot(); cm = new CM_ShipModelSlot(); dm = new DM_ShipModelSlot(); slots = new ShipModelSlotBase[] { es, cb, df, cm, dm }; this.sets = new ShipModelSets(resource); }
public void Replace(ShipModelSlotBase other) { module = other.module; }