From 5af256cd55aa2e53b206dbc6006da67bf98c877f Mon Sep 17 00:00:00 2001 From: Chris Ruppel Date: Sun, 27 Jan 2013 14:05:19 -0600 Subject: [PATCH] Adding a checkpoint to logojscube() so it can be fired multiple times by the same Drone. --- src/main/javascript/drone/logo.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/javascript/drone/logo.js b/src/main/javascript/drone/logo.js index 64a1a63..fe75f6f 100644 --- a/src/main/javascript/drone/logo.js +++ b/src/main/javascript/drone/logo.js @@ -185,21 +185,22 @@ Drone.extend('logojs', 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) .turn(3) .logojs(fg, bg); - this.move('start') + this.move('jscube-start') .right(100) .turn(3) .right(100) .turn(3) .logojs(fg, bg); - this.move('start') + this.move('jscube-start') .right(100) .turn(3) .right(100)