reposition tanks on map switch, rework map logic

This commit is contained in:
Vinzenz Schroeter 2024-05-03 15:47:33 +02:00 committed by RobbersDaughter
parent 3d65c81b8b
commit 97144ae3b8
13 changed files with 208 additions and 117 deletions

View file

@ -38,4 +38,7 @@ internal static class PositionHelpers
pixelPosition.GetPixelRelative(add, add)
);
}
public static PixelPosition GetCenter(this TilePosition tile)
=> tile.ToPixelPosition().GetPixelRelative(4, 4);
}