Class SteadyDirectionSearcher
- java.lang.Object
-
- com.treasure.hunt.strategy.searcher.impl.SteadyDirectionSearcher
-
-
Constructor Summary
Constructors Constructor Description SteadyDirectionSearcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.locationtech.jts.geom.Point searcherStartPosition)SearchPathmove()Use this to perform a initial move, without a hint given.SearchPathmove(AngleHint hint)
-
-
-
Method Detail
-
init
public void init(org.locationtech.jts.geom.Point searcherStartPosition)
-
move
public SearchPath move()
Description copied from interface:SearcherUse this to perform a initial move, without a hint given. This is for the case, the searcher starts. (as he does normally)- Specified by:
movein interfaceSearcher<AngleHint>- Returns:
SearchPath, which matters no movement.
-
move
public SearchPath move(AngleHint hint)
- Specified by:
movein interfaceSearcher<AngleHint>- Parameters:
hint- the hint, theHidergave last.- Returns:
SearchPaththeSearchPath, this searcher chose.
-
-