refactoring code out of main class
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michele 2021-09-06 23:49:30 +01:00
parent 1395d93fbc
commit 9c688d363f
4 changed files with 1321 additions and 595 deletions

View file

@ -22,6 +22,8 @@ namespace Sledgemapper
public InsertMode InsertMode;
public string CampaignName { get; set; }
public bool ShowCellNumbers { get; set; }
public Vector3 ViewportCenter { get; set; }
public State()
{
@ -35,6 +37,7 @@ namespace Sledgemapper
SelectedNote = new() { X = 1, Y = 1 };
TileSize = 30;
LineWidth=1;
ViewportCenter = new(0, 0, 0);
}
public void SelectClosestWall(Point mousePosition)