RaceGame.Map.DrawBackground C# (CSharp) 메소드

DrawBackground() 공개 메소드

public DrawBackground ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void
        public void DrawBackground(SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(BackgroundImage, new Rectangle(0, 0, BackgroundImage.Bounds.Width, BackgroundImage.Bounds.Height), Color.White);
        }