summaryrefslogtreecommitdiffstats
path: root/src/model/data
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-11-01 00:59:13 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-11-01 00:59:13 +0100
commit9f2e4e6996fb96d23e1ca29667130a2111a59de5 (patch)
treefa7c3c22d469f062252735269dbc09031fc47dd8 /src/model/data
parent22b06efe2c2646a01535b5bbf5f3cc57de81ad0d (diff)
downloadrpgedit-9f2e4e6996fb96d23e1ca29667130a2111a59de5.tar
rpgedit-9f2e4e6996fb96d23e1ca29667130a2111a59de5.zip
Do not use default exports
Diffstat (limited to 'src/model/data')
-rw-r--r--src/model/data/map.ts (renamed from src/model/data/MapData.ts)6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/model/data/MapData.ts b/src/model/data/map.ts
index 0c44d94..50b9175 100644
--- a/src/model/data/MapData.ts
+++ b/src/model/data/map.ts
@@ -1,12 +1,10 @@
-import {mapFromObject} from '../../util';
-
-interface Input {
+export interface Input {
readonly tiles: string[];
readonly collision: boolean[][];
readonly layers: number[][][];
}
-export default class MapData {
+export class MapData {
public readonly tiles: string[];
public readonly collision: boolean[][];
public readonly layers: number[][][];