Asteroids.TCheckBoxOption.Draw C# (CSharp) 메소드

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void
        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.Draw(txCheckBoxLeft, recCheckBoxLeft, col);
            spriteBatch.Draw(txCheckBoxRight, recCheckBoxRight, col);
            spriteBatch.End();
        }