Пример #1
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            GraphicsMgr.Init(GraphicsDevice);

            new Resources.Sprites.Default();
            new Fonts();
            new Maps();
            new Effects();
        }
Пример #2
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            GraphicsMgr.Init(GraphicsDevice);

            Resources.Sprites.Default.Load();
            Fonts.Load();
            Effects.Load();
            Maps.Load();
        }
Пример #3
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            GraphicsMgr.Init(GraphicsDevice);

            new SpriteGroupResourceBox("DefaultSprites", "Graphics/Default");
            new DirectoryResourceBox <Effect>("Effects", "Effects");
            new DirectoryResourceBox <TiledMap>("Maps", "Maps");
            new Fonts();
        }