• Define a callback to determine whether or not the pause button should appear on screen

    Parameters

    • pauseMenuCondition: (() => boolean)

      Callback that should return true if the user should have the option to pause the game at the current time, not if the game should be paused currently

        • (): boolean
        • Returns boolean

    Returns void