got racers animated and racing

This commit is contained in:
mccarreon
2023-08-06 21:12:28 -07:00
parent 3e9d64cb00
commit bce1f8e1f7
10 changed files with 132 additions and 41 deletions

11
code/RandomExtensions.cs Normal file
View 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;
}
}