...
Parameter | Type | Mandatory | Description |
---|---|---|---|
droid | Droid object | An object representing the droid that will be travelling to x,y | |
x | Number | The x co-ordinate of the destination | |
y | Number | The y co-ordinate of the destination |
Return value
Value | Type | Description |
---|---|---|
true | Boolean | From its current location, the droid can reach x,y |
false | Boolean | The droid is unable to reach x,y from its current position |
...