function shootBullet(shooter, originX, originY) {
  let currentTime = Date.now();
  if (currentTime - lastShot > shootDelay) {
    lastShot = currentTime;
    //TODO Possibly add shooting functionality for players
    if (
      shooter.type == npcFacingLeft ||
      shooter.type === LEFT_FACING_PLACEHOLDER ||
      shooter.type == npcEvilLeft
    ) {
      addSprite(originX, originY, bullet_left);
    } else if (
      shooter.type == npcFacingRight ||
      shooter.type === RIGHT_FACING_PLACEHOLDER ||
      shooter.type == npcEvilRight
    ) {
      addSprite(originX, originY, bullet_right);
    }
  }
}
Ellicit an attack from an NPC.
Shoot a bullet.
@param {*} shooter attacker
@param {*} originX origin x
@param {*} originY origin y