inz-00/Assets/Common/MapSite.cs

23 lines
519 B
C#

using System;
using System.Collections.Generic;
namespace Assets.Common
{
[Serializable]
public class MapSite
{
public readonly Metadata Metadata = new Metadata();
public MapSite(Point center, IEnumerable<Point> boundary)
{
Center = center;
Boundary = boundary;
}
public Point Center { get; set; }
public IEnumerable<Point> Boundary { get; set; }
[field: NonSerialized]
public Map Map { get; internal set; }
}
}