Files
LifeTrinket/src/Types/Settings.ts
Viktor Rådberg 808c55109d wip done
2023-12-27 19:49:38 +01:00

22 lines
486 B
TypeScript

export enum Orientation {
OppositeLandscape = 'opposite-landscape',
Landscape = 'landscape',
Portrait = 'portrait',
}
export type Settings = {
keepAwake: boolean;
showStartingPlayer: boolean;
goFullscreenOnStart: boolean;
};
export type InitialGameSettings = {
startingLifeTotal: number;
useCommanderDamage: boolean;
gameFormat?: GameFormat;
numberOfPlayers: number;
orientation: Orientation;
};
type GameFormat = 'commander' | 'standard' | 'two-headed-giant';