Files
2025-03-30 14:55:16 -07:00

20 lines
375 B
C#

using System;
namespace LunaLightXMG
{
public class Utilities
{
private readonly Random random;
public Utilities(int seed = 42)
{
random = new Random(seed);
}
public float RandomFromRange(float num1, float num2)
{
return (float)(num1 + (num2 - num1) * random.NextDouble());
}
}
}