Fixed typo in change direction method.

This commit is contained in:
Edgar O Silva 2013-11-17 23:38:37 -06:00
parent f8b822e852
commit 95a6f3bc47
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class SpheroRobot
me.sphero.setRGB(0xFF0000, me)
me.sphero.stop()
changeDirection: ()
changeDirection: () ->
every 1.seconds(), () ->
me.sphero.roll 90, Math.floor(Math.random() * 360) if @payingPower