Commit 0be028d8 authored by Eben Blaisdell's avatar Eben Blaisdell

safe strats

parent 253b9587
......@@ -456,8 +456,8 @@ Block.prototype.untransformDir = function(dir){
return (4 + dir - this.orient)%4;
}
Block.prototype.isOpen = function(dir){
//console.log("isOpen");
//console.log(dir);
console.log("isOpen");
console.log(dir);
dir = this.untransformDir(dir);
//console.log(dir);
newx = this.x + Block.dx(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