fix: correct naming

This commit is contained in:
Stevan Freeborn
2024-12-19 00:27:38 -06:00
parent 24c7bbaaa0
commit 5a82d166d3
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -155,10 +155,10 @@ partial record Robot
);
}
public (int X, int Y) Move(int MaxX, int MaxY)
public (int X, int Y) Move(int maxX, int maxY)
{
PositionX = (PositionX + VelocityX + MaxX) % MaxX;
PositionY = (PositionY + VelocityY + MaxY) % MaxY;
PositionX = (PositionX + VelocityX + maxX) % maxX;
PositionY = (PositionY + VelocityY + maxY) % maxY;
return (PositionX, PositionY);
}