Skip to content

Instantly share code, notes, and snippets.

View abele's full-sized avatar

Jānis Ābele abele

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