Files
ox_lib/web/src/typings/skillcheck.ts

15 lines
310 B
TypeScript
Raw Normal View History

interface CustomGameDifficulty {
areaSize: number;
speedMultiplier: number;
}
export type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
export interface SkillCheckProps {
angle: number;
difficultyOffset: number;
difficulty: GameDifficulty;
keys?: string[];
key: string;
}