Exemple #1
0
        public override void Draw(TimeSpan delta)
        {
            SpriteRender.Begin();
            SpriteRender.ResetView(800, 600);

            //SpriteRender.Draw(pX, pY, 0, 8, 8, texture, Color4.Red);
            //SpriteRender.Draw(x, y, 0, 32, 32, texture, Color4.Yellow, rotation: r);

            for (int i = 0, n = _sprites.Count(); i != n; ++i)
            {
                _sprites[i].Draw();
            }

            //gameplay.Draw(delta);
        }
        public override void Draw(TimeSpan delta)
        {
            SpriteRender.Begin();

            gameplay.Draw(delta);
        }