Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Notifier

Hierarchy

  • Notifier

Implements

Index

Constructors

constructor

  • new Notifier(gl: WebGL2RenderingContext, capacity: number): Notifier
  • Parameters

    • gl: WebGL2RenderingContext
    • capacity: number

    Returns Notifier

Methods

addCreature

addItem

addNotifierIcon

addStat

addStatusEffect

clear

  • clear(): void
  • Returns void

render

  • render(timeStamp: number, x: number, y: number, tileScale: number, viewWidth: number, viewHeight: number): boolean
  • Parameters

    • timeStamp: number
    • x: number
    • y: number
    • tileScale: number
    • viewWidth: number
    • viewHeight: number

    Returns boolean

resume

  • resume(): void
  • Returns void

setTexture

  • setTexture(texture: WebGLTexture, inverseTextureSize: Vector2): void
  • Parameters

    • texture: WebGLTexture
    • inverseTextureSize: Vector2

    Returns void

suspend

  • suspend(): void
  • Returns void

update

  • update(timeStamp: number): void
  • Parameters

    • timeStamp: number

    Returns void

Generated using TypeDoc