Skip to content

Instantly share code, notes, and snippets.

@vitorbcs
vitorbcs / robot.js
Created December 8, 2012 15:49 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {
this.dd = false;
}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;