feat: tileAt delegator

This commit is contained in:
cha0s 2019-05-28 16:51:16 -05:00
parent 571b498658
commit 8dfb6a7849

View File

@ -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,