2025-08-12 19:30:40 +02:00

9 lines
200 B
C#

namespace skyscraper8.UI.MonoGame.Bridge;
public static class RandomExtension
{
public static T NextItem<T>(this Random rng, T[] array)
{
return array[rng.Next(array.Length)];
}
}