hextris/entities.js
2014-05-17 10:24:39 -04:00

11 lines
No EOL
183 B
JavaScript

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