示例#1
0
        /// <summary>
        /// This is called when the game should draw itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.CornflowerBlue);

            // TODO: Add your drawing code here
            gameWorld.Draw(gameTime, spriteBatch);

            base.Draw(gameTime);
        }
示例#2
0
文件: Painter.cs 项目: Njuby/Painter
 protected override void Draw(GameTime gameTime)
 {
     GraphicsDevice.Clear(Color.CornflowerBlue);
     gameWorld.Draw(gameTime, spriteBatch);
     base.Draw(gameTime);
 }