示例#1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsService graphics = services.Get <GraphicsService>(ServicesDefinition.Graphics);

            graphics.BeginDraw();
            gameplays.DrawSprites(gameTime, graphics.SpriteBatch);
            graphics.EndDraw();
            base.Draw(gameTime);
        }