mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
world.js: Introduce function to copy positions
This commit is contained in:
@@ -821,5 +821,9 @@ var World = {
|
|||||||
|
|
||||||
setTitle: function() {
|
setTitle: function() {
|
||||||
document.title = 'A Barren World';
|
document.title = 'A Barren World';
|
||||||
|
},
|
||||||
|
|
||||||
|
copyPos: function(pos) {
|
||||||
|
return [pos[0], pos[1]];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user