Interface TargetSelectionStrategy
-
- All Implemented Interfaces:
-
java.io.Serializable
@FunctionalInterface() public interface TargetSelectionStrategy<T, P extends Position<out P>> implements Serializable
This interface models a strategy for selecting positions where to move.
-
-
Method Summary
Modifier and Type Method Description abstract P
getTarget()
TargetSelectionStrategy<T, P>
cloneIfNeeded(Node<T> destination, Reaction<T> reaction)
-
-
Method Detail
-
cloneIfNeeded
TargetSelectionStrategy<T, P> cloneIfNeeded(Node<T> destination, Reaction<T> reaction)
-
-
-
-