feat: entity z-sorting
This commit is contained in:
parent
7902311131
commit
c0fd9ad546
|
@ -37,6 +37,7 @@ class GraphicalBase extends Trait {
|
|||
return;
|
||||
}
|
||||
this.entity.container.position = this.entity.position;
|
||||
this.entity.container.zIndex = this.entity.y;
|
||||
}
|
||||
|
||||
listeners() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user