Class AudioSettings
- Namespace
- AlphaFramework.Presentation.Config
- Assembly
- AlphaFramework.Presentation.dll
Stores audio settings.
public sealed class AudioSettings
- Inheritance
-
objectAudioSettings
Properties
MusicVolume
The volume of background music (0 = silent, 1 = normal)
public float MusicVolume { get; set; }
Property Value
SoundVolume
The volume of sound effects (0 = silent, 1 = normal)
public float SoundVolume { get; set; }
Property Value
Methods
ApplyTo(Engine)
Applies the settings to the engine.
public void ApplyTo(Engine engine)
Parameters
engineEngine
Events
Changed
Occurs when a setting in this group is changed.
public event Action Changed