Class Priotisable<T>

java.lang.Object
eu.iv4xr.framework.extensions.pathfinding.Priotisable<T>
Type Parameters:
T - The type to wrap around.

class Priotisable<T> extends Object
Wraps around a type to add a float value on which can be sorted.
  • Field Details

    • priority

      public float priority
    • item

      public T item
  • Constructor Details

    • Priotisable

      public Priotisable(T item, float priority)
      Wrap around an item to add a priority on which can be sorted.
      Parameters:
      item - : The item to wrap around.
      priority - : The priority on which can be sorted.