Adding a checkpoint to logojscube() so it can be fired multiple times by the same Drone.
This commit is contained in:
parent
723965bcf8
commit
5af256cd55
1 changed files with 5 additions and 4 deletions
|
@ -185,21 +185,22 @@ Drone.extend('logojs', function(fg, bg) {
|
||||||
//
|
//
|
||||||
Drone.extend('logojscube', function(fg, bg) {
|
Drone.extend('logojscube', function(fg, bg) {
|
||||||
|
|
||||||
this.logojs(fg, bg);
|
this.chkpt('jscube-start')
|
||||||
|
.logojs(fg, bg);
|
||||||
|
|
||||||
this.move('start')
|
this.move('jscube-start')
|
||||||
.right(100)
|
.right(100)
|
||||||
.turn(3)
|
.turn(3)
|
||||||
.logojs(fg, bg);
|
.logojs(fg, bg);
|
||||||
|
|
||||||
this.move('start')
|
this.move('jscube-start')
|
||||||
.right(100)
|
.right(100)
|
||||||
.turn(3)
|
.turn(3)
|
||||||
.right(100)
|
.right(100)
|
||||||
.turn(3)
|
.turn(3)
|
||||||
.logojs(fg, bg);
|
.logojs(fg, bg);
|
||||||
|
|
||||||
this.move('start')
|
this.move('jscube-start')
|
||||||
.right(100)
|
.right(100)
|
||||||
.turn(3)
|
.turn(3)
|
||||||
.right(100)
|
.right(100)
|
||||||
|
|
Reference in a new issue