Class will intercept any text or dialogue message calls and log them for test purposes

Constructors

Properties

Methods

Constructors

Properties

logs: string[] = []

Methods

  • Parameters

    • text: string
    • name: string
    • Optionaldelay: number
    • Optionalcallback: Function
    • OptionalcallbackDelay: number
    • OptionalpromptDelay: number

    Returns void

  • Parameters

    • text: string
    • Optionaldelay: number
    • Optionalcallback: Function
    • OptionalcallbackDelay: number
    • Optionalprompt: boolean
    • OptionalpromptDelay: number

    Returns void