mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-21 20:46:14 -04:00
Build and deploy of version 29028296
This commit is contained in:
parent
a136475f88
commit
8b1278cb55
8 changed files with 325 additions and 3926 deletions
21
src/types.d.ts
vendored
21
src/types.d.ts
vendored
|
@ -102,7 +102,7 @@ export type Ball = {
|
|||
};
|
||||
|
||||
interface BaseFlash {
|
||||
time: number;
|
||||
time: number;
|
||||
color: colorString;
|
||||
duration: number;
|
||||
size: number;
|
||||
|
@ -110,24 +110,23 @@ interface BaseFlash {
|
|||
x: number;
|
||||
y: number;
|
||||
}
|
||||
interface ParticleFlash extends BaseFlash{
|
||||
type: 'particle';
|
||||
interface ParticleFlash extends BaseFlash {
|
||||
type: "particle";
|
||||
vx: number;
|
||||
vy: number;
|
||||
ethereal: boolean;
|
||||
}
|
||||
|
||||
interface TextFlash extends BaseFlash{
|
||||
type:'text';
|
||||
text: string;
|
||||
interface TextFlash extends BaseFlash {
|
||||
type: "text";
|
||||
text: string;
|
||||
}
|
||||
|
||||
interface BallFlash extends BaseFlash{
|
||||
type:'ball';
|
||||
interface BallFlash extends BaseFlash {
|
||||
type: "ball";
|
||||
}
|
||||
|
||||
export type Flash = ParticleFlash|TextFlash|BallFlash
|
||||
|
||||
export type Flash = ParticleFlash | TextFlash | BallFlash;
|
||||
|
||||
export type RunStats = {
|
||||
started: number;
|
||||
|
@ -148,8 +147,6 @@ export type PerksMap = {
|
|||
[k in PerkId]: number;
|
||||
};
|
||||
|
||||
|
||||
|
||||
export type RunHistoryItem = RunStats & {
|
||||
perks?: PerksMap;
|
||||
appVersion?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue