PreferredTargetSelector
Provides a way to sort game entities in order of "preference" when it comes to interacting with them. Takes into account mouse position, hovering, "true" distance to the entities, etc. The "lower" the value of the entity, the more preferred it is.
Functions
Link copied to clipboard
open fun <T, U> comparing(keyExtractor: (in T) -> out U, keyComparator: Comparator<in U>): Comparator<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard