Created
December 4, 2012 22:39
-
-
Save matthewrobb/4209690 to your computer and use it in GitHub Desktop.
Phenbot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Robot(robot) { | |
this.bots.push(this); | |
}; | |
Robot.prototype = { | |
constructor: Robot, | |
bots: [], | |
onIdle: function(ev) { | |
ev.robot.clone(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment