using System.Collections.Generic; using System.Numerics; namespace PathFinding { public interface IPlanarCollection where T : IPlanarElement { T? this[Vector2 vector] { get; set; } T? this[int x, int y] { get; set; } } }