2021-07-17 17:25:41 +10:00
|
|
|
import { DrawingState } from "./Drawing";
|
2021-07-16 14:55:33 +10:00
|
|
|
import { FogState } from "./Fog";
|
2021-07-20 21:45:18 +10:00
|
|
|
import { Notes } from "./Note";
|
|
|
|
|
import { TokenStates } from "./TokenState";
|
2021-07-08 12:01:02 +10:00
|
|
|
|
|
|
|
|
export type EditFlag = "drawing" | "tokens" | "notes" | "fog";
|
|
|
|
|
|
|
|
|
|
export type MapState = {
|
2021-07-20 21:45:18 +10:00
|
|
|
tokens: TokenStates;
|
2021-07-17 17:25:41 +10:00
|
|
|
drawShapes: DrawingState;
|
2021-07-16 14:55:33 +10:00
|
|
|
fogShapes: FogState;
|
2021-07-08 12:01:02 +10:00
|
|
|
editFlags: Array<EditFlag>;
|
2021-07-20 21:45:18 +10:00
|
|
|
notes: Notes;
|
2021-07-08 12:01:02 +10:00
|
|
|
mapId: string;
|
|
|
|
|
};
|