Class RightHandAngleHintHider
- java.lang.Object
- 
- com.treasure.hunt.strategy.hider.impl.RightHandAngleHintHider
 
- 
 public class RightHandAngleHintHider extends java.lang.Object implements Hider<AngleHint> A type ofHider, generating a validAngleHint, which contains an angle of the providedPreferenceService.HintSize_Preference(standard isMath.PI) with his right wing pointing at the treasure.
- 
- 
Constructor SummaryConstructors Constructor Description RightHandAngleHintHider()
 - 
Method SummaryAll 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- 
getTreasureLocationpublic org.locationtech.jts.geom.Point getTreasureLocation() - Specified by:
- getTreasureLocationin interface- Hider<AngleHint>
- Returns:
- A random treasure location via JTSUtils.shuffleTreasure().
 
 - 
initpublic void init(org.locationtech.jts.geom.Point searcherStartPosition) 
 - 
movepublic AngleHint move(SearchPath searchPath) - Specified by:
- movein interface- Hider<AngleHint>
- Parameters:
- searchPath- the- SearchPath, the- Searcherdid last
- Returns:
- a valid AngleHint, which contains an angle of the providedPreferenceService.HintSize_Preference(standard isMath.PI) with his right wing pointing at the treasure.
 
 
- 
 
-