bullets collide with walls
This commit is contained in:
parent
b10ccf2da8
commit
898a9cedc1
6 changed files with 50 additions and 28 deletions
|
@ -4,5 +4,4 @@ namespace TanksServer.Models;
|
|||
|
||||
internal readonly record struct FloatPosition(double X, double Y)
|
||||
{
|
||||
public PixelPosition ToPixelPosition() => new((int)X % MapService.PixelsPerRow, (int)Y % MapService.PixelsPerRow);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue