Class UserControlledAngleHintHider
- java.lang.Object
-
- com.treasure.hunt.strategy.hider.impl.UserControlledAngleHintHider
-
- All Implemented Interfaces:
HideAndSeekHider<AngleHint>
,Hider<AngleHint>
public class UserControlledAngleHintHider extends java.lang.Object implements HideAndSeekHider<AngleHint>
-
-
Constructor Summary
Constructors Constructor Description UserControlledAngleHintHider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Point
getTreasureLocation()
void
init(org.locationtech.jts.geom.Point searcherStartPosition)
AngleHint
move(SearchPath searchPath)
-
-
-
Method Detail
-
getTreasureLocation
public org.locationtech.jts.geom.Point getTreasureLocation()
- Specified by:
getTreasureLocation
in interfaceHider<AngleHint>
- Returns:
- the current treasure location
-
init
public void init(org.locationtech.jts.geom.Point searcherStartPosition)
-
move
public AngleHint move(SearchPath searchPath)
- Specified by:
move
in interfaceHider<AngleHint>
- Parameters:
searchPath
- theSearchPath
, theSearcher
did last- Returns:
- T a (new) hint.
-
-