Package com.treasure.hunt.game
Class Turn
- java.lang.Object
-
- com.treasure.hunt.game.Turn
-
public class Turn extends java.lang.Object
A turn contains every essential data, produced in each game turn.
-
-
Constructor Summary
Constructors Constructor Description Turn(Hint hint, SearchPath searchPath, org.locationtech.jts.geom.Point treasureLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GeometryItem<?>>
getGeometryItems()
Hint
getHint()
SearchPath
getSearchPath()
TheSearchPath
theSearcher
did.org.locationtech.jts.geom.Point
getTreasureLocation()
The current location of the treasure.
-
-
-
Constructor Detail
-
Turn
public Turn(Hint hint, SearchPath searchPath, org.locationtech.jts.geom.Point treasureLocation)
-
-
Method Detail
-
getGeometryItems
public java.util.List<GeometryItem<?>> getGeometryItems()
- Returns:
- a list of all geometryItems of this.
-
getHint
public Hint getHint()
-
getSearchPath
public SearchPath getSearchPath()
TheSearchPath
theSearcher
did.
-
getTreasureLocation
public org.locationtech.jts.geom.Point getTreasureLocation()
The current location of the treasure.
-
-