Otptimised checkout behaviours

This commit is contained in:
2023-01-11 15:25:19 +01:00
parent 5becf33df0
commit 3c18e7e360
4 changed files with 72 additions and 62 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ namespace Caisses
//Position = new Point(Random.Next(0, 100), Random.Next(0, 100));
Speed = new PointF(NextFloat(MIN_CLIENT_SPEED, MAX_CLIENT_SPEED), NextFloat(MIN_CLIENT_SPEED, MAX_CLIENT_SPEED));
Color = Color.FromArgb(ShoppingTime * 2, 0, 0);
int clientWidth = Random.Next(20, 30);
int clientWidth = Random.Next(25, 30);
Size = new Size(clientWidth, clientWidth);
}
static float NextFloat(float min, float max)