Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseScreen

Hierarchy

Implements

Index

Constructors

constructor

  • Returns BaseScreen

Properties

element

element: JQuery = $(this.selector())

visible

visible: boolean = false

Methods

bindElements

  • bindElements(): void

doHide

  • doHide(): void
  • Returns void

doShow

  • doShow(): void
  • Returns void

hide

  • hide(): void
  • Returns void

isVisible

  • isVisible(): boolean
  • Returns boolean

onGameEnd

  • onGameEnd(showBlocker: boolean): void
  • Parameters

    • showBlocker: boolean

    Returns void

Protected onHide

  • onHide(): void
  • Returns void

onKeyDown

  • onKeyDown(event: JQueryEventObject, keyCode: number, blockable: boolean): boolean | undefined
  • Parameters

    • event: JQueryEventObject
    • keyCode: number
    • blockable: boolean

    Returns boolean | undefined

onKeyUp

  • onKeyUp(event: JQueryEventObject): boolean | undefined
  • Parameters

    • event: JQueryEventObject

    Returns boolean | undefined

onMouseDown

  • onMouseDown(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

onMouseMove

  • onMouseMove(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

onMouseScroll

  • onMouseScroll(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

onMouseUpOrLeave

  • onMouseUpOrLeave(event: JQueryEventObject): void
  • Parameters

    • event: JQueryEventObject

    Returns void

Protected onShow

  • onShow(data?: any): void
  • Parameters

    • Optional data: any

    Returns void

selector

  • selector(): string
  • Returns string

show

  • show(data?: any): void
  • Parameters

    • Optional data: any

    Returns void

unbindElements

  • unbindElements(): void

Generated using TypeDoc