This commit is contained in:
Renan LE CARO 2025-04-06 10:13:10 +02:00
parent 0cef60f90d
commit bdbf8b846c
19 changed files with 1306 additions and 1591 deletions

7
src/types.d.ts vendored
View file

@ -167,7 +167,6 @@ export type ReusableArray<T> = {
export type RunHistoryItem = RunStats & {
perks?: PerksMap;
mode: GameState["mode"];
appVersion?: string;
};
export type GameState = {
@ -286,17 +285,13 @@ export type GameState = {
colorChange: { vol: number; x: number };
};
rerolls: number;
loop: number;
baseCombo: number;
mode: "short" | "long" | "creative";
readyToRender: boolean;
creative:boolean;
};
export type RunParams = {
level?: string;
levelToAvoid?: string;
perks?: Partial<PerksMap>;
mode: "short" | "long" | "creative";
};
export type OptionDef = {
default: boolean;