feat: tileAt delegator
This commit is contained in:
parent
571b498658
commit
8dfb6a7849
|
@ -202,6 +202,10 @@ export class Layer extends decorate(class {}) {
|
|||
this.entityList.tick(elapsed);
|
||||
}
|
||||
|
||||
tileAt(position) {
|
||||
return this.tiles.tileAt(position);
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
return {
|
||||
tilesetUri: this.tilesetUri,
|
||||
|
|
Loading…
Reference in New Issue
Block a user