first pass of settings in local storage

This commit is contained in:
Viktor Rådberg
2023-09-27 20:01:34 +02:00
parent abae6f85e3
commit bcaab4fdb0
5 changed files with 65 additions and 24 deletions

View File

@@ -1,13 +1,7 @@
import { Player, Rotation } from '../Types/Player';
import { InitialGameSettings } from '../Types/Settings';
import { GridTemplateAreas } from './GridTemplateAreas';
export type InitialGameSettings = {
startingLifeTotal: number;
useCommanderDamage: boolean;
numberOfPlayers: number;
gridAreas: GridTemplateAreas;
};
const presetColors = [
'#F06292', // Light Pink
'#4DB6AC', // Teal