@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
14 lines (13 loc) • 440 B
TypeScript
import type { FlagMediaName, KartEffect } from '../hardware';
import type { SoundName } from '../sounds';
import type { DamageEffectName } from './DamageName';
import type { DamageTarget } from './DamageTarget';
export interface Damage {
name: DamageEffectName;
target: DamageTarget;
sound: SoundName;
rgbEffect: KartEffect;
/** Mainly used for coins reduction */
amount: number;
flagMediaName: FlagMediaName;
}