Commit cac02bac authored by Eben Blaisdell's avatar Eben Blaisdell

orientation and 2 actions test

parent fe233ce1
......@@ -444,6 +444,7 @@ Block.prototype.untransformDir = function(dir){
return (4 + dir - this.orient)%4;
}
Block.prototype.isOpen = function(dir){
console.log("isOpen");
console.log(dir);
dir = this.untransformDir(dir);
console.log(dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment