Пример #1
0
        public static void LoadHelpers(ContentManager Content)
        {
            ContentFallback = Content;
            _sprPixel       = Content.Load <Texture2D>("Pixel");

            sprBox                = Content.Load <Texture2D>("Main Menu New/Box");
            sprBoxBackground      = Content.Load <Texture2D>("Main Menu New/Background");
            sprBoxBackgroundRed   = Content.Load <Texture2D>("Main Menu New/Background Red");
            sprBoxBackgroundBlue  = Content.Load <Texture2D>("Main Menu New/Background Blue");
            sprBoxBackgroundGray  = Content.Load <Texture2D>("Main Menu New/Background Gray");
            sprBoxBackgroundBlack = Content.Load <Texture2D>("Main Menu New/Background Black");

            Debug = new DebugScreen();
        }
        public static void LoadHelpers(ContentManager Content)
        {
            ContentFallback = Content;
            _sprPixel       = Content.Load <Texture2D>("Pixel");

            sprBox                = Content.Load <Texture2D>("Main Menu New/Box");
            sprBoxBackground      = Content.Load <Texture2D>("Main Menu New/Background");
            sprBoxBackgroundRed   = Content.Load <Texture2D>("Main Menu New/Background Red");
            sprBoxBackgroundBlue  = Content.Load <Texture2D>("Main Menu New/Background Blue");
            sprBoxBackgroundGray  = Content.Load <Texture2D>("Main Menu New/Background Gray");
            sprBoxBackgroundBlack = Content.Load <Texture2D>("Main Menu New/Background Black");

            fntWhiteFont           = Content.Load <SpriteFont>("Fonts/arialCustom10-5");
            fntWhiteFont.Spacing   = -7;
            _fntShadowFont         = Content.Load <SpriteFont>("Fonts/arialCustom10-5S");
            _fntShadowFont.Spacing = -7;

            Debug = new DebugScreen();
        }