A soundscape is a set of background/ambient sounds that play to enhance the atmosphere of the game. To create a new soundscape, it can be added to Soundscapes.
Assembly: Tiny Life.dll
public class Soundscape
Creates a new soundscape with the given settings.
public Soundscape(Soundscape.IntensityDelegate intensityFunction, params SoundEffect sounds)
The intensity function that determines the intensity of this soundscape at any given position.
The set of sound effects that this soundscape should contain, which will be randomly chosen from.
The set of soundscapes that are active in the game. To create a new soundscape and to have its Update(Map, Camera) method called while in-game, it can be added to this collection.
public static readonly List<Soundscape> Soundscapes
Updates this soundscape, querying its intensity function and playing its sound effects.
public virtual void Update(Map map, Camera camera)
The map that the soundscape should play on.
The game's camera.