Skip to content

Instantly share code, notes, and snippets.

@klovadis
klovadis / robot.js
Created December 5, 2012 14:10 — forked from Shipow/robot.js
Shipow#001
var Robot = function(robot) {
robot.rotateCannon(-90);
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead();
//i'll add a clone but i need to refactor collision
//robot.clone();
};