/// <summary> /// Initialises this singelton. /// </summary> public void Initialise() { // Test to see if we are running on mono: Type t = Type.GetType("Mono.Runtime"); if (t != null) { IsRunningOnMono = true; } else { IsRunningOnMono = false; } SuspendAutoPanelDisplay = false; // now init ui handlers m_oSystemGenAndDisplay = new Handlers.SystemGenAndDisplay(); m_oSystemMap = new Handlers.SystemMap(); m_oEconomics = new Handlers.Economics(); m_oShips = new Handlers.Ships(); m_oClassDesign = new Handlers.ClassDesign(); m_oTaskGroup = new Handlers.TaskGroup(); m_oComponentRP = new Handlers.Components(); m_oFastOOB = new Handlers.FastOOB(); m_oMissileDesign = new Handlers.MissileDesignHandler(); m_oTurretDesign = new Handlers.TurretDesignHandler(); }