UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

19 lines (16 loc) 620 B
import type { DamageEffectName } from '../../damage'; import type { PowerUpName } from '../../powerUp'; import type { ScreenGameTimeLeft } from './ScreenGameTimeLeft'; export type ScreenCurrentTotal = { current: number | null; total: number | null; }; export type ScreenViewBaseConfig = { position?: ScreenCurrentTotal; coins?: number | null; gameTimeLeft?: ScreenGameTimeLeft; powerUp?: PowerUpName | 'Clear PowerUp' | null; powerUpAnimationTimeSeconds?: number | null; damageEffect?: DamageEffectName | 'Yellow Flag' | 'Red Flag' | null; damageAnimationTimeSeconds?: 'Infinite' | number | null; };