chore(web): move skill check into dev draw tools

This commit is contained in:
Luke
2022-10-27 09:27:54 +02:00
parent 4f69c7c5c1
commit b354e0836c
3 changed files with 17 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ interface CustomGameDifficulty {
speedMultiplier: number;
}
type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
export type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
export interface SkillCheckProps {
angle: number;
@@ -28,13 +28,6 @@ const difficultyOffsets = {
hard: 25,
};
debugData([
{
action: 'startSkillCheck',
data: ['hard'],
},
]);
const SkillCheck: React.FC = () => {
const [visible, setVisible] = useState(false);
const dataRef = useRef<GameDifficulty | GameDifficulty[] | null>(null);