model: add mutable MapState (empty for now)
This commit is contained in:
parent
ebc56db63c
commit
bc6d79b088
5 changed files with 25 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
import {mapFromObject} from '../util';
|
||||
import {mapFromObject} from '../../util';
|
||||
|
||||
interface Input {
|
||||
readonly tiles: {[key: string]: string};
|
6
src/model/state/MapState.ts
Normal file
6
src/model/state/MapState.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import MapData from '../data/MapData';
|
||||
|
||||
export default class MapState {
|
||||
public constructor(public readonly data: MapData) {
|
||||
}
|
||||
}
|
Reference in a new issue