got racers animated and racing
This commit is contained in:
11
code/RandomExtensions.cs
Normal file
11
code/RandomExtensions.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
public static class RandomExtensions
|
||||
{
|
||||
public static double NextDouble(
|
||||
this Random random,
|
||||
double minValue,
|
||||
double maxValue )
|
||||
{
|
||||
return random.NextDouble() * (maxValue - minValue) + minValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user