Can toggle game music now.

This commit is contained in:
jme9
2025-03-30 14:55:16 -07:00
parent 43903e6c42
commit 218f4da157
4 changed files with 18 additions and 20 deletions
+2 -2
View File
@@ -4,14 +4,14 @@ namespace LunaLightXMG
{
public class Utilities
{
private Random random;
private readonly Random random;
public Utilities(int seed = 42)
{
random = new Random(seed);
}
public float ChooseFromRange(float num1, float num2)
public float RandomFromRange(float num1, float num2)
{
return (float)(num1 + (num2 - num1) * random.NextDouble());
}