Io/zerospace converter #1

Merged
JonathanMcCaffrey merged 137 commits from io/zerospace-converter into master 2026-09-29 18:21:24 +00:00
Showing only changes of commit bc48216b44 - Show all commits
@@ -0,0 +1,30 @@
using ZeroSpace.MapEditor.Services;
namespace ZeroSpace.MapEditor.Models;
/// <summary>
/// A star system node on the map canvas: the document plus selection state.
/// </summary>
public sealed class MapNode
{
public MapNode(StarSystemDoc doc)
{
Doc = doc;
}
public StarSystemDoc Doc { get; }
public double X
{
get => Doc.X;
set => Doc.X = value;
}
public double Y
{
get => Doc.Y;
set => Doc.Y = value;
}
public bool IsSelected { get; set; }
}