ScriptCraft

ScriptCraft

14.6k Downloads

Documentation says drone() parameters are optional but they are not

nixnax opened this issue ยท 0 comments

commented

https://github.com/walterhiggins/ScriptCraft/blob/master/docs/API-Reference.md#constructing-a-drone-object

Parameters

    location (optional) : NB If a Location object is provided as a parameter, then it should be the only parameter.
    x (optional) : The x coordinate of the Drone
    y (optional) : The y coordinate of the Drone
    z (optional) : The z coordinate of the Drone
    direction (optional) : The direction in which the Drone is facing. Possible values are 0 (east), 1 (south), 2 (west) or 3 (north)
    world (optional) : The world in which the drone is created.