Package-level declarations

Types

Link copied to clipboard
abstract class ChangeTargetOnCollision<T, P : Position<P>>(getCurrentPosition: () -> P) : TargetSelectionStrategy<T, P>

Base class for TargetSelectionStrategy offering automatic target change on collision and utilities for initialization. getCurrentPosition should return the current position of the object to move. P is the position type to use.

Link copied to clipboard
fun interface RoutingStrategy<T, P : Position<P>>

Strategy describing how routing between two points happens.

Link copied to clipboard
fun interface SpeedSelectionStrategy<T, P : Position<out P>>

Computes a node's movement length toward a target.

Link copied to clipboard
This interface models a strategy for selecting positions where to move.