Class Priotisable<T>
java.lang.Object
eu.iv4xr.framework.extensions.pathfinding.Priotisable<T>
- Type Parameters:
T
- The type to wrap around.
Wraps around a type to add a float value on which can be sorted.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPriotisable(T item, float priority)
Wrap around an item to add a priority on which can be sorted. -
Method Summary
-
Field Details
-
priority
public float priority -
item
-
-
Constructor Details
-
Priotisable
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.
-