ARCed.Controls.AnimationXnaPanel.Initialize C# (CSharp) Метод

Initialize() защищенный Метод

Creates the context and prepares for drawing
protected Initialize ( ) : void
Результат void
        protected override void Initialize()
        {
            this._sprites = new List<FrameSprite>();
            this._font = new Font("Courier New", 8.25f, FontStyle.Regular);
            this._batch = new SpriteBatch(GraphicsDevice);
            GraphicsDevice.Clear(Color.Black);
            VIEWPORT = new Rectangle(0, 0, 320, 160);
            Disposed += this.AnimationXnaPanel_Disposed;
        }