Exemplo n.º 1
0
        protected override void LoadContent()
        {
            _spriteBatch = new SpriteBatch(GraphicsDevice);

            App.Register(_spriteBatch);

            Art.LoadContent(Content);
            SharedArt.LoadContent(Content);
            LibContent.SetContents();

            _text       = DependencyInjection.Resolve <IText>();
            _guiManager = new EditorGuiManager();
        }
Exemplo n.º 2
0
        protected override void LoadContent()
        {
            _spriteBatch = new SpriteBatch(GraphicsDevice);

            Art.LoadContent(Content);
            SharedArt.LoadContent(Content);

            App.Register(_spriteBatch);
            LibContent.SetContents();
            LegacySuport.Load(_spriteBatch);

            _textContent      = DependencyInjection.Resolve <ITextContent>();
            _textContent.Size = 0.75f;

            _guiManager   = new GuiManager();
            _boardManager = new BoardManager();
        }