AI: Add .NET MAUI star map position editor

This commit is contained in:
2026-09-29 18:21:21 +00:00
parent 969ae7e58f
commit 92e6722ad5
@@ -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; }
}