Implement on enter/leave layer events
This commit is contained in:
@@ -38,6 +38,8 @@ export class PlayerMovement {
|
||||
return {
|
||||
x,
|
||||
y,
|
||||
oldX: this.startPosition.x,
|
||||
oldY: this.startPosition.y,
|
||||
direction: this.endPosition.direction,
|
||||
moving: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user