Reference to the current game instance.
Asset key for the sound.
Default value for the volume, between 0 and 1.
Whether or not the sound will loop.
Reference to the current game instance.
Asset key for the sound.
Whether or not the sound will loop.
Default value for the volume, between 0 and 1.
The Sound class constructor.