Commit 253b9587 authored by Eben Blaisdell's avatar Eben Blaisdell

safe strats

parent 1c61de4f
......@@ -504,8 +504,8 @@ Block.prototype.onTurn =function (){
funce.exec("onTurn",[],this.interp);
}
Block.prototype.sendMessage = function(dir){
console.log("sendMessage");
console.log(dir);
//console.log("sendMessage");
//console.log(dir);
dir = parseInt(dir);
dir = this.untransformDir(dir);
messagex = this.x + Block.dx(dir);
......@@ -515,7 +515,7 @@ Block.prototype.sendMessage = function(dir){
}
}
Block.prototype.onMessage = function(dir){
console.log("onMessageBegin");
//console.log("onMessageBegin");
//console.log(dir);
funce.exec("onMessage",[this.transformDir(dir).toString()],this.interp);
console.log("onMessageBegin");
......
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