Robot - YaliToledano/OPP_Maze GitHub Wiki

Robot

class that represents a robot in the game.

Parameters

has an id, position, source - which it is located on(node id), destination current node it goes to, speed, value - so far how much it collected, a queue for the path it plans to go, fruit - it's "target".

has a json init and update.