gameClient\KML_Logger - HilaShoshan/RobotsGame GitHub Wiki

#A class that responsible for building a kml file from the game. #Option to do KML file from manual or aoutomatic game.

Methods...

Constructors:

  1. public KML_Logger(AutoDrive g)

  2. public KML_Logger(MyGameGUI g)

Functions:

  • a lot of private methods that help in the building.

  • The public methods:

  1. public void placemark(double x, double y, int id)

    • create a string that represent a 'placemark' Kml code snippet.
    • id: an integer that represents the type of the variable, to choose the icon.
  2. public void toKML_file()

    • Add the end of the KML file and try to create a string
    • (using BufferWriter)