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.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:
- the current treasure location
-
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.
-
-