mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
Build 29068563
This commit is contained in:
parent
6ef13f2d19
commit
df8bfbb350
25 changed files with 384 additions and 336 deletions
12
src/types.d.ts
vendored
12
src/types.d.ts
vendored
|
@ -1,5 +1,5 @@
|
|||
import {rawUpgrades} from "./upgrades";
|
||||
import {options} from "./options";
|
||||
import { rawUpgrades } from "./upgrades";
|
||||
import { options } from "./options";
|
||||
|
||||
export type colorString = string;
|
||||
|
||||
|
@ -258,7 +258,6 @@ export type GameState = {
|
|||
ballSize: number;
|
||||
coinSize: number;
|
||||
puckHeight: number;
|
||||
totalScoreAtRunStart: number;
|
||||
pauseUsesDuringRun: number;
|
||||
keyboardPuckSpeed: number;
|
||||
lastTick: number;
|
||||
|
@ -296,4 +295,9 @@ export type OptionDef = {
|
|||
help: string;
|
||||
};
|
||||
export type OptionId = keyof typeof options;
|
||||
export type UpgradeLike = { id: PerkId; name: string; requires: string };
|
||||
export type UpgradeLike = {
|
||||
id: PerkId;
|
||||
name: string;
|
||||
requires: string;
|
||||
threshold: number;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue