12 lines
242 B
C#
12 lines
242 B
C#
using System.Collections.Generic;
|
|
using System.Numerics;
|
|
|
|
namespace PathFinding
|
|
{
|
|
public interface IPlanarCollection<T> where T : IPlanarElement
|
|
{
|
|
T? this[Vector2 vector] { get; set; }
|
|
T? this[int x, int y] { get; set; }
|
|
}
|
|
}
|