refactoring code out of main class
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1395d93fbc
commit
9c688d363f
4 changed files with 1321 additions and 595 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue