Skip to content

KML_logger

amit1021 edited this page Jan 19, 2020 · 3 revisions

This class allows to export the graph,Robots and Fruits to a KML file.

Object variables:

  • private int scenario_num - the scenario of the game.

constructor:

  • public KML_Logger() - empty constructor.
  • public KML_Logger(int scenario_num) - creat new KML_Logger with scenario from the user.

methods

  • public void start() - the start of the kml file.
  • public void addPlaceMark(String id, String position) - add the PlaceMark Robot and Fruit.
  • public void end() - the end of the kml file put the file in data packeg and close the file.
Clone this wiki locally