Options
All
  • Public
  • Public/Protected
  • All
Menu

Module index

Index

Functions

loadPage

  • loadPage(href: string): void
  • Loads Page

    Parameters

    • href: string

      Path to the HTML

    Returns void

playSoundEffect

  • playSoundEffect(audioPath: string): void
  • Plays soundeffect

    Parameters

    • audioPath: string

      Soundeffect that should be played

    Returns void

showAlert

  • showAlert(msg: string): void
  • Something happend, alert the player and reload the page (redirect to landingPage)

    Parameters

    • msg: string

      Error message to display

    Returns void

Generated using TypeDoc