import { InteractableObject } from "@/components/three/interaction/InteractableObject"; import { useGameStore } from "@/managers/stores/useGameStore"; import { Debug } from "@/utils/debug/Debug"; import type { Vector3Tuple } from "@/types/three/three"; interface NPCHelperProps { position: Vector3Tuple; } export function NPCHelper({ position }: NPCHelperProps): React.JSX.Element { const step = useGameStore((state) => state.intro.currentStep); const setStep = useGameStore((state) => state.setIntroStep); const debug = Debug.getInstance(); const handlePress = (): void => { if (step === "searching") { setStep("helped"); } }; const shouldShow = step === "searching" || debug.active; if (!shouldShow) { return <>; } return ( ); }