using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; public class PQEntry : IComparable { public int Key { get; set; } public Vector2 Coordinates { get; set; } public int CompareTo(PQEntry other) { if (this.Key < other.Key) return -1; else if (this.Key > other.Key) return 1; else return 0; } }