Skip to content

Instantly share code, notes, and snippets.

View tsimbalar's full-sized avatar

Thibaud Desodt tsimbalar

View GitHub Profile
@tsimbalar
tsimbalar / robot.js
Created December 5, 2012 15:34 — 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();
};