namespace Just.Core.Collections; /// A value and its coordinates within a . /// The type of the map element. public readonly struct MapPoint(T value, int x, int y, IMap map) { public readonly T Value = value; public IMap Map { get; } = map; public int X { get; } = x; public int Y { get; } = y; }