Commit 3474879a authored by Eben Blaisdell's avatar Eben Blaisdell

safe strats

parent 0be028d8
......@@ -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);
......@@ -518,7 +518,7 @@ Block.prototype.onMessage = function(dir){
//console.log("onMessageBegin");
//console.log(dir);
funce.exec("onMessage",[this.transformDir(dir).toString()],this.interp);
console.log("onMessageBegin");
//console.log("onMessageBegin");
}
//Main
......
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