text: #include "Blood.hpp"
  // this will draw the image of Blood on the screen
  void Blood::draw(SDL_Renderer *gRenderer, SDL_Texture *assets)
  {
      drop(gRenderer, assets);
  }
  // this constructor is to recognize the sprites of the Blood
  Blood::Blood()
  {
      Lifesaver({srcRect_0, {0, 0, 50, 60}});
  }
  // this constructor is to recognize the sprites of the Blood with the x and y value
  Blood::Blood(int x, int y)
  {
      srcRect = srcRect_0;
      moverRect = {x, y, 30, 40};
  }
  // this function will find the position of Blood and this will help us to find the collision of Blood with zombie
  SDL_Rect Blood ::find_pos()
  {
      return moverRect;
  }
  // this function will drop the Blood from sky.
  void Blood::drop(SDL_Renderer *gRenderer, SDL_Texture *assets)
  {
      if (moverRect.y <= 550)
      {
          srcRect = srcRect_0;
          moverRect.y = moverRect.y + 1;
      }
  
      if (moverRect.y >= 550)
      {
          check = true; // this boolean function is used to detect the collision with bottom of the screen.
          // If it is true that means it has hit the bottom of the screen which result in destroying of the sprite
      }
      SDL_RenderCopy(gRenderer, assets, &srcRect, &moverRect);
  }
  