diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-10-31 14:24:38 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-10-31 14:24:38 +0100 |
commit | af04cbe3592656cf6981232550a460f1b10e2560 (patch) | |
tree | e39a0c01385d4aec6c8b85bf93b4555c33c63fc1 /src/index.ts | |
parent | 272e37a4084526688cb4408d9e2b959f57c0d2c7 (diff) | |
download | rpgedit-af04cbe3592656cf6981232550a460f1b10e2560.tar rpgedit-af04cbe3592656cf6981232550a460f1b10e2560.zip |
view: refactor generic parts of MapView into a TileView
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 033e4ea..e21b006 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ window.onload = () => { const map = new MapState(mapData); const mapView = await loadMap(renderer, map); - mapView.draw(); + mapView.render(); }); xhr.open('GET', 'resources/map/test.json', true); |