fix comment - boxa example
This commit is contained in:
parent
e494a15afa
commit
d88729675a
2 changed files with 6 additions and 0 deletions
|
@ -205,9 +205,11 @@ Parameters
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
Construct a rainbow-colored road 100 blocks long...
|
Construct a rainbow-colored road 100 blocks long...
|
||||||
|
|
||||||
var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime,
|
var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime,
|
||||||
blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple];
|
blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple];
|
||||||
boxa(rainbowColors,7,1,100);
|
boxa(rainbowColors,7,1,100);
|
||||||
|
|
||||||
Drone.prism() method
|
Drone.prism() method
|
||||||
====================
|
====================
|
||||||
Creates a prism. This is useful for roofs on houses.
|
Creates a prism. This is useful for roofs on houses.
|
||||||
|
@ -330,6 +332,7 @@ Parameters
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool');
|
drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool');
|
||||||
|
|
||||||
Drone.paste() method
|
Drone.paste() method
|
||||||
|
|
|
@ -230,9 +230,11 @@ Parameters
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
Construct a rainbow-colored road 100 blocks long...
|
Construct a rainbow-colored road 100 blocks long...
|
||||||
|
|
||||||
var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime,
|
var rainbowColors = [blocks.wool.red, blocks.wool.orange, blocks.wool.yellow, blocks.wool.lime,
|
||||||
blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple];
|
blocks.wool.lightblue, blocks.wool.blue, blocks.wool.purple];
|
||||||
boxa(rainbowColors,7,1,100);
|
boxa(rainbowColors,7,1,100);
|
||||||
|
|
||||||
***/
|
***/
|
||||||
Drone.prototype.box0 = function(block,width,height,length){};
|
Drone.prototype.box0 = function(block,width,height,length){};
|
||||||
Drone.prototype.boxa = function(/* [string] */ width, height, length){};
|
Drone.prototype.boxa = function(/* [string] */ width, height, length){};
|
||||||
|
@ -386,6 +388,7 @@ Parameters
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
|
|
||||||
drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool');
|
drone.copy('somethingCool',10,5,10).right(12).paste('somethingCool');
|
||||||
|
|
||||||
Drone.paste() method
|
Drone.paste() method
|
||||||
|
|
Reference in a new issue