Use set_volume() to change volume. Further away entities make less noise then those closer to the player.
Define update method for Entity. Will need to be called from children's update() method (super.upate())
Within Entity, need update method that reduces sound effect volume based on distance from player.
Hypotenuse/distance away method already exists. Needs to pull get_distance() into Entity from character.
https://www.pygame.org/docs/ref/music.html#pygame.mixer.music.set_volume
Use set_volume() to change volume. Further away entities make less noise then those closer to the player. Define update method for Entity. Will need to be called from children's update() method (super.upate()) Within Entity, need update method that reduces sound effect volume based on distance from player.
Hypotenuse/distance away method already exists. Needs to pull get_distance() into Entity from character.