Skip to content

Instantly share code, notes, and snippets.

@hwao
hwao / robot.js
Created December 4, 2012 11:42 — forked from fabiopimentel/robot.js
[CAELUM TEAM]Megatron
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.clone();