box example doc updated

This commit is contained in:
walterhiggins 2013-02-09 15:08:20 +00:00
parent d9093b1746
commit 84f024d62c
2 changed files with 10 additions and 0 deletions

View file

@ -114,6 +114,11 @@ Example
-------
To create a black structure 4 blocks wide, 9 blocks tall and 1 block long...
box(blocks.black, 4, 9, 1);
... or the following code does the same but creates a variable that can be used for further methods...
var drone = new Drone();
drone.box(blocks.black, 4, 9, 1);
![box example 1](img/boxex1.png)

View file

@ -121,6 +121,11 @@ Example
-------
To create a black structure 4 blocks wide, 9 blocks tall and 1 block long...
box(blocks.black, 4, 9, 1);
... or the following code does the same but creates a variable that can be used for further methods...
var drone = new Drone();
drone.box(blocks.black, 4, 9, 1);
![box example 1](img/boxex1.png)