ProjectCow.Spaceship.Draw C# (CSharp) Method

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void
        public void Draw(SpriteBatch spriteBatch)
        {
            if (BeamOn && IsAlive)
            {
                beams[currentBeam].Draw(spriteBatch);
            }
            spriteBatch.Draw(image, BoundBox, Color.White);
        }