Player move API wip
This commit is contained in:
parent
e0e1a7e76a
commit
29e44d3023
7 changed files with 297 additions and 0 deletions
|
@ -1456,6 +1456,15 @@ ${escapedMessage}
|
|||
y: this.CurrentPlayer.y,
|
||||
};
|
||||
});
|
||||
|
||||
iframeListener.registerAnswerer("walkPlayerTo", () => {
|
||||
// TODO: walk player to position, wait for promise to resolve
|
||||
console.log("WALK PLAYER TO ACTION CALLED");
|
||||
return {
|
||||
x: this.CurrentPlayer.x,
|
||||
y: this.CurrentPlayer.y,
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
private setPropertyLayer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue