Add savable Config class

This commit is contained in:
msk
2023-09-18 00:28:54 -07:00
parent 879a2aa2f4
commit 74520c3e04
4 changed files with 100 additions and 3 deletions
+4 -2
View File
@@ -9,11 +9,13 @@ namespace WacK.Configuration
/// <summary>
/// Scroll speed multiplier.
/// </summary>
public static float playSpeedMultiplier = 2f;
public static Config<float> playSpeedMultiplier =
new("PlaySettings", "playSpeedMultiplier", 2f);
/// <summary>
/// How much to shift song audio by in seconds.
/// </summary>
public static float audioOffset = 0f;
public static Config<float> audioOffset =
new("PlaySettings", "audioOffset", 0f);
}
}