Class Turn


  • public class Turn
    extends java.lang.Object
    A turn contains every essential data, produced in each game turn.
    • 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.
      • getTreasureLocation

        public org.locationtech.jts.geom.Point getTreasureLocation()
        The current location of the treasure.