Package it.unibo.alchemist.model.implementations.movestrategies
Types
Link copied to clipboard
abstract class ChangeTargetOnCollision<T, P : Position<P>>(getCurrentPosition: () -> P) : TargetSelectionStrategy<T, P>
Content copied to clipboard
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.