Basic entities

This commit is contained in:
Noah Moroze 2014-05-17 10:24:39 -04:00
parent 204f2180ae
commit f35f38759e

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;
};