src/display/screen.js in entityjs-0.3.1 vs src/display/screen.js in entityjs-0.3.2
- old
+ new
@@ -27,17 +27,9 @@
return x + this.posX + this.offX;
},
toScreenY:function(y){
return y + this.posY + this.offY;
- },
-
- toScreen:function(x, y){
- if(arguments.length==1){
- y = x.posY || x.y;
- x = x.posX || x.x;
- }
- return {x: this.toScreenX(x), y: this.toScreenY(y)};
}
})
.defaults({
\ No newline at end of file