Skip to main content

Toaster

The Toaster is only meant to be called from inside Excalibur to display messages to players

Index

Constructors

Methods

Constructors

constructor

Methods

publicdispose

  • dispose(): void
  • Returns void

publictoast

  • toast(message: string, linkTarget?: string, linkName?: string): void
  • Display a toast message to a player


    Parameters

    • message: string

      Text of the message, messages may have a single "[LINK]" to influence placement

    • optionallinkTarget: string

      Optionally specify a link location

    • optionallinkName: string

      Optionally specify a name for that link location

    Returns void

Page Options