ScrollingShooter.Blimp.Draw C# (CSharp) Method

Draw() public method

Draw the Blimp body on-screen
public Draw ( float elapsedTime, SpriteBatch spriteBatch ) : void
elapsedTime float The in-game time between the previous and current frame
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch An already initialized SpriteBatch, ready for Draw() commands
return void
        public override void Draw(float elapsedTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(spritesheet, Bounds, spriteBounds[(int)state], Color.White);
        }