diff options
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/data/MapData.ts (renamed from src/model/MapData.ts) | 2 | ||||
-rw-r--r-- | src/model/state/MapState.ts | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/model/MapData.ts b/src/model/data/MapData.ts index c8db35c..0f14f50 100644 --- a/src/model/MapData.ts +++ b/src/model/data/MapData.ts @@ -1,4 +1,4 @@ -import {mapFromObject} from '../util'; +import {mapFromObject} from '../../util'; interface Input { readonly tiles: {[key: string]: string}; diff --git a/src/model/state/MapState.ts b/src/model/state/MapState.ts new file mode 100644 index 0000000..2931dfb --- /dev/null +++ b/src/model/state/MapState.ts @@ -0,0 +1,6 @@ +import MapData from '../data/MapData'; + +export default class MapState { + public constructor(public readonly data: MapData) { + } +} |