world.js: Introduce function to copy positions

This commit is contained in:
Andrew Ardill
2013-07-10 20:49:10 +10:00
parent 9327358008
commit b97f5d9914
+4
View File
@@ -821,5 +821,9 @@ var World = {
setTitle: function() {
document.title = 'A Barren World';
},
copyPos: function(pos) {
return [pos[0], pos[1]];
}
};