@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
13 lines (10 loc) • 345 B
text/typescript
import type { ObjectValues } from '../utils';
const POWER_UP_TARGET = {
/** Affect the owner of the power-up */
Self: 'Self',
/** Affect a single Kart */
Any: 'Any',
/** Affect all the other Karts in game (must communicate to the server) */
All: 'All',
} as const;
export type PowerUpTarget = ObjectValues<typeof POWER_UP_TARGET>;