Basic entities

This commit is contained in:
Noah Moroze 2014-05-17 10:24:39 -04:00
parent 5451d5d660
commit a1c967c2f9

View file

@ -1 +1,11 @@
// cool objects here
var Clock = function(sides) {
this.sides = sides;
this.blocks = [];
for(var i=0; i<sides; i++) {
this.blocks.push([]);
}
}
var Block = function(color) {
this.color = color;
};