Implement on enter/leave layer events
This commit is contained in:
parent
0b08d9251e
commit
934e24f837
14 changed files with 222 additions and 18 deletions
|
@ -38,6 +38,8 @@ export class PlayerMovement {
|
|||
return {
|
||||
x,
|
||||
y,
|
||||
oldX: this.startPosition.x,
|
||||
oldY: this.startPosition.y,
|
||||
direction: this.endPosition.direction,
|
||||
moving: true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue