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:
-
public KML_Logger(AutoDrive g)
-
public KML_Logger(MyGameGUI g)
Functions:
-
a lot of private methods that help in the building.
-
The public methods:
-
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.
-
public void toKML_file()
- Add the end of the KML file and try to create a string
- (using BufferWriter)