From 8dfb6a7849a91d169c7a034bf4d11593d5a0cff6 Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 28 May 2019 16:51:16 -0500 Subject: [PATCH] feat: tileAt delegator --- packages/topdown/layer.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/topdown/layer.js b/packages/topdown/layer.js index 12353e9..cfc6e49 100644 --- a/packages/topdown/layer.js +++ b/packages/topdown/layer.js @@ -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,