robot - Stav-Nof/The-Maze-of-Waze-part3 GitHub Wiki

This class represents the Pokemon on the graph.


robot class methods:

  • getLocation- return the location of the Pikachu as a 3D point.
  • getImage- return the Pikachu image.
  • getDest- return the id (key) of the destination vertex (node). If there is no destination return -1.
  • getId- return the id of the robot. (sometimes there is more then one Pikachu on the graph).
  • getSrc- return the id (key) of the source vertex (node).
  • getPoints- return points