Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterTypeMandatoryDescription
droidDroid object(tick)An object representing the droid that will be travelling to x,y
xNumber(tick)The x co-ordinate of the destination
yNumber(tick)The y co-ordinate of the destination

Return value

ValueTypeDescription
trueBooleanFrom its current location, the droid can reach x,y
falseBooleanThe droid is unable to reach x,y from its current position

...