public Core() { if (Core.Instance != null) { Destroy(this); return; } Core.Instance = this; mVessels = new Dictionary <Vessel, RadiationTracker>(); mKerbals = new Dictionary <string, KerbalTracker>(); mSolar = new SolarFlux(); mRandom = new System.Random(); mFluxWindow = new UI.FluxWindow(); mRosterWindow = new UI.RosterWindow(); EmptyVessel = new Vessel(); EmptyVessel.vesselName = "Unassigned"; va = new Dictionary <string, RadiationEnvironment>(); so = new Dictionary <string, RadiationEnvironment>(); ga = new Dictionary <string, RadiationEnvironment>(); resAbsCe = new Dictionary <string, double>(); }
public Core() { if (Core.Instance != null) { Destroy(this); return; } Core.Instance = this; mVessels = new Dictionary<Vessel, RadiationTracker>(); mKerbals = new Dictionary<string, KerbalTracker>(); mSolar = new SolarFlux(); mRandom = new System.Random(); mFluxWindow = new UI.FluxWindow(); mRosterWindow = new UI.RosterWindow(); EmptyVessel = new Vessel(); EmptyVessel.vesselName = "Unassigned"; va = new Dictionary<string, RadiationEnvironment>(); so = new Dictionary<string, RadiationEnvironment>(); ga = new Dictionary<string, RadiationEnvironment>(); resAbsCe = new Dictionary<string, double>(); }