Mirror of Svelto.ECS because we're a fan of it
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
737B

  1. namespace Svelto.DataStructures
  2. {
  3. public class PriorityQueueNode
  4. {
  5. /// <summary>
  6. /// The Priority to insert this node at. Must be set BEFORE adding a node to the queue
  7. /// </summary>
  8. public double Priority { get;
  9. set;
  10. }
  11. /// <summary>
  12. /// <b>Used by the priority queue - do not edit this value.</b>
  13. /// Represents the order the node was inserted in
  14. /// </summary>
  15. public long InsertionIndex { get; set; }
  16. /// <summary>
  17. /// <b>Used by the priority queue - do not edit this value.</b>
  18. /// Represents the current position in the queue
  19. /// </summary>
  20. public int QueueIndex { get; set; }
  21. }
  22. }