using System;
namespace Priority_Queue
{
public class FastPriorityQueueNode
{
///
/// The Priority to insert this node at. Must be set BEFORE adding a node to the queue (ideally just once, in the node's constructor).
/// Should not be manually edited once the node has been enqueued - use queue.UpdatePriority() instead
///
public float Priority { get; protected internal set; }
///
/// Represents the current position in the queue
///
public int QueueIndex { get; internal set; }
#if DEBUG
///
/// The queue this node is tied to. Used only for debug builds.
///
public object Queue { get; internal set; }
#endif
}
}