reposition tanks on map switch, rework map logic
This commit is contained in:
parent
51a5344edf
commit
5d30c5b245
13 changed files with 208 additions and 117 deletions
|
@ -38,4 +38,7 @@ internal static class PositionHelpers
|
|||
pixelPosition.GetPixelRelative(add, add)
|
||||
);
|
||||
}
|
||||
|
||||
public static PixelPosition GetCenter(this TilePosition tile)
|
||||
=> tile.ToPixelPosition().GetPixelRelative(4, 4);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue