AI: Add .NET MAUI star map position editor

This commit is contained in:
2026-09-27 15:08:54 +00:00
parent 8c687d409b
commit bc48216b44
@@ -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; }
}