Skip to content

Instantly share code, notes, and snippets.

View oidoug's full-sized avatar

Douglas Schmidt oidoug

View GitHub Profile
@oidoug
oidoug / robot.js
Created December 5, 2012 16:13 — forked from Shipow/robot.js
TestBed0
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();
};