java doc - Orgamliel7/Ex3- GitHub Wiki
MyFruit class:
/** This class represents the "prizes" that the robot is supposed to collect during the game.
public MyFruit() /** defalut constructor - initialize all fileds to zero/null
public MyFruit(graph g) /** assignment constructor - initialize the graph to be g
public MyFruit(edge_data edge,Point3D pos,int val,int type, graph g) /** assignment constructor - initialize edge_data to edge, pos as Point3D and the graph to be g
public void initFromJson(String jsonString) /** Initializing fruit from json file
public void findEdge() /** looking for an available edge for fruit
Robot class: /**This class represents the "robots" that supposed to collect the prizes during the game
public Robot() /**defalut constructor - initialize all fileds to zero/null
public void botFromJSON(String json) /** Initializing bot from json file
MyGameGui class: /** This class provides as the capability for visual appearance of the game.
KML_Logger class: public KML_Logger() /** defalut constructor to create KML_Logger file so we can display our game by Google Earth
void initFruits() /** Initializing fruits from json file to our KML_Logger
void initRobots() /** Initializing robots from json file to our KML_Logger
private void addPlacemark /** save our bots and fruits location as placemarks in KML_Logger
boolean FinishAndClose() /** checks if KML_Logger have been Initialized properly