mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
9 lines
194 B
C#
9 lines
194 B
C#
using Games.Common.Randomness;
|
|
|
|
namespace Basketball;
|
|
|
|
internal static class IRandomExtensions
|
|
{
|
|
internal static Shot NextShot(this IRandom random) => Shot.Get(random.NextFloat(1, 3.5f));
|
|
}
|