Construct a SoundEffectComponent from the file names of the sounds to play on events.
An object with the names of the sounds for events for which a sound should play
The sound to play when the actor disappears
The sound to play when the actor tosses a projectile
The sound to play upon arrival at a destination
The sound to play when the actor is defeated
The sound to play when the actor jumps
The sound to play when there is a collision with this actor
The sound to play when the actor punches
Pause the sound effect for which event, if one was configured and is
currently playing
The event whose sound should pause
Play the sound effect for which event, if one was configured for it
The event whose sound should play
Play the sound effect for which event, but only if it isn't already
playing -- useful for events (like repeated collisions) that can recur
faster than the sound finishes
The event whose sound should play
Report whether the sound effect for which event is currently playing
The event to check
Stop the sound effect for which event, if one was configured
The event whose sound should stop
SoundEffect provides a set of sounds associated with events that can happen to an actor. This lets us easily know which sound to play without having to rely on a callback. Note that this component has the full set of possible sounds, even though not all are appropriate for any single actor.