Asteroids.Star.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch spriteBatch, Color color ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
color Color
return void
        public void Draw(SpriteBatch spriteBatch, Color color)
        {
            spriteBatch.Draw(starTexture, location, color);
        }