text: class inventory {
    constructor(image,hp,speed,firePower,fireSpeed,dy,shootTime,bulletID) {
      this.texture = image;
      this.hp = hp;
      this.speed = speed;
      this.firePower = firePower
      this.fireSpeed = fireSpeed
      this.heroDYconst = dy;
      this.shootTime = shootTime;
      this.bulletID = bulletID;
    }
  }
  