Table of Contents

Class AudioSettings

Namespace
AlphaFramework.Presentation.Config
Assembly
AlphaFramework.Presentation.dll

Stores audio settings.

public sealed class AudioSettings
Inheritance
object
AudioSettings

Properties

MusicVolume

The volume of background music (0 = silent, 1 = normal)

public float MusicVolume { get; set; }

Property Value

float

SoundVolume

The volume of sound effects (0 = silent, 1 = normal)

public float SoundVolume { get; set; }

Property Value

float

Methods

ApplyTo(Engine)

Applies the settings to the engine.

public void ApplyTo(Engine engine)

Parameters

engine Engine

Events

Changed

Occurs when a setting in this group is changed.

public event Action Changed

Event Type

Action

See Also