Interface GameoverModalProps

Hierarchy

  • GameoverModalProps

Properties

level: string
playAudio: ((audio: string) => void)

Type declaration

    • (audio: string): void
    • Parameters

      • audio: string

      Returns void

setShowGameoverModal: Dispatch<SetStateAction<boolean>>
setShowNextLevelModal: Dispatch<SetStateAction<boolean>>
setShowSelectPowerModal: Dispatch<SetStateAction<boolean>>
showGameoverModal: boolean
winner?: string

Generated using TypeDoc