Class RandomAngleHintHider
- java.lang.Object
-
- com.treasure.hunt.strategy.hider.impl.RandomAngleHintHider
-
-
Constructor Summary
Constructors Constructor Description RandomAngleHintHider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.PointgetTreasureLocation()voidinit(org.locationtech.jts.geom.Point searcherStartPosition)AngleHintmove(SearchPath searchPath)
-
-
-
Method Detail
-
getTreasureLocation
public org.locationtech.jts.geom.Point getTreasureLocation()
- Specified by:
getTreasureLocationin interfaceHider<AngleHint>- Returns:
- A random treaasure location via
JTSUtils.shuffleTreasure().
-
init
public void init(org.locationtech.jts.geom.Point searcherStartPosition)
-
move
public AngleHint move(SearchPath searchPath)
- Specified by:
movein interfaceHider<AngleHint>- Parameters:
searchPath- theSearchPath, theSearcherdid last- Returns:
- T a (new) hint.
-
-