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 void
init(org.locationtech.jts.geom.Point searcherStartPosition)
SearchPath
move()
Use this to perform a initial move, without a hint given.SearchPath
move(AngleHint hint)
-
-
-
Method Detail
-
init
public void init(org.locationtech.jts.geom.Point searcherStartPosition)
-
move
public SearchPath move()
Description copied from interface:Searcher
Use this to perform a initial move, without a hint given. This is for the case, the searcher starts. (as he does normally)- Specified by:
move
in interfaceSearcher<AngleHint>
- Returns:
SearchPath
, which matters no movement.
-
move
public SearchPath move(AngleHint hint)
- Specified by:
move
in interfaceSearcher<AngleHint>
- Parameters:
hint
- the hint, theHider
gave last.- Returns:
SearchPath
theSearchPath
, this searcher chose.
-
-