test
This commit is contained in:
@@ -222,9 +222,10 @@ class Player {
|
||||
}
|
||||
|
||||
update(delta) {
|
||||
if (this.isMoving) {
|
||||
this.updateDepth();
|
||||
}
|
||||
// NOTE: updateDepth() disabled - using sortableObjects Z-sorting in GameScene
|
||||
// if (this.isMoving) {
|
||||
// this.updateDepth();
|
||||
// }
|
||||
|
||||
if (!this.isMoving) {
|
||||
this.handleInput();
|
||||
@@ -506,7 +507,8 @@ class Player {
|
||||
}
|
||||
});
|
||||
|
||||
this.updateDepth();
|
||||
// NOTE: updateDepth() disabled - using sortableObjects Z-sorting in GameScene
|
||||
// this.updateDepth();
|
||||
}
|
||||
|
||||
updatePosition() {
|
||||
|
||||
Reference in New Issue
Block a user