fix: correct naming
This commit is contained in:
1 parent
24c7bbaaa0
commit
5a82d166d3
2 files changed
+7
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user