Microsoft.Xna.Framework.TitleContainer.TitleContainer C# (CSharp) Method

TitleContainer() static private method

static private TitleContainer ( ) : System
return System
        static TitleContainer() 
        {
#if WINDOWS || DESKTOPGL
            Location = AppDomain.CurrentDomain.BaseDirectory;
#elif WINRT
            Location = Windows.ApplicationModel.Package.Current.InstalledLocation.Path;
#elif IOS || MONOMAC
			Location = NSBundle.MainBundle.ResourcePath;
#else
            Location = string.Empty;
#endif

#if IOS
            SupportRetina = UIScreen.MainScreen.Scale >= 2.0f;
            RetinaScale = (int)Math.Round(UIScreen.MainScreen.Scale);
#endif
        }